debian-mirror-gitlab/app/views/shared/issuable/_feed_buttons.html.haml

9 lines
636 B
Text
Raw Normal View History

2021-11-11 11:23:49 +05:30
- 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-10-24 23:57:45 +05:30
= sprite_icon('rss', css_class: 'qa-rss-icon')
2021-11-11 11:23:49 +05:30
- 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')