2021-08-20 05:09:16 -04:00
|
|
|
- show_calendar_button = local_assigns.fetch(:show_calendar_button, true)
|
|
|
|
|
|
|
|
= link_to safe_params.merge(rss_url_options), class: 'btn gl-button btn-default btn-icon has-tooltip', data: { container: 'body', testid: 'rss-feed-link' }, title: _('Subscribe to RSS feed') , 'aria-label': _('Subscribe to RSS feed') do
|
2020-08-10 14:09:54 -04:00
|
|
|
= sprite_icon('rss', css_class: 'qa-rss-icon')
|
2021-08-20 05:09:16 -04:00
|
|
|
|
|
|
|
- if show_calendar_button
|
|
|
|
= link_to safe_params.merge(calendar_url_options), class: 'btn gl-button btn-default btn-icon has-tooltip', data: { container: 'body' }, title: _('Subscribe to calendar'), 'aria-label': _('Subscribe to calendar') do
|
|
|
|
= sprite_icon('calendar')
|