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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
667 B
Text
Raw Normal View History

2021-11-11 11:23:49 +05:30
- show_calendar_button = local_assigns.fetch(:show_calendar_button, true)
2023-05-27 22:25:52 +05:30
= render Pajamas::ButtonComponent.new(href: safe_params.merge(rss_url_options), button_options: { class: 'has-tooltip btn-icon', title: _('Subscribe to RSS feed'), 'aria-label': _('Subscribe to RSS feed'), data: { container: 'body', testid: 'rss-feed-link' } }) do
= sprite_icon('rss')
2021-11-11 11:23:49 +05:30
- if show_calendar_button
2023-05-27 22:25:52 +05:30
= render Pajamas::ButtonComponent.new(href: safe_params.merge(calendar_url_options), button_options: { class: 'has-tooltip btn-icon', title: _('Subscribe to calendar'), 'aria-label': _('Subscribe to calendar'), data: { container: 'body' } }) do
= sprite_icon('calendar')