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