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.

11 lines
389 B
Text
Raw Normal View History

2021-11-11 11:23:49 +05:30
- show_calendar_button = local_assigns.fetch(:show_calendar_button, true)
- if show_calendar_button
2023-07-09 08:55:56 +05:30
= link_to safe_params.merge(calendar_url_options), class: 'dropdown-item' do
.gl-dropdown-item-text-wrapper
= _("Subscribe to calendar")
= link_to safe_params.merge(rss_url_options), class: 'dropdown-item' do
.gl-dropdown-item-text-wrapper
= _("Subscribe to RSS feed")