summaryrefslogtreecommitdiff
path: root/app/views/shared/_registration_features_discovery_message.html.haml
blob: e5b1ad88a7feceb02c2b8d03c438f7229f750022 (plain)
1
2
3
4
5
6
7
8
- feature_title = local_assigns.fetch(:feature_title, s_('RegistrationFeatures|use this feature'))
- registration_features_docs_path = help_page_path('development/service_ping/index.md', anchor: 'registration-features-program')
- registration_features_link_start = '<a href="%{url}" target="_blank">'.html_safe % { url: registration_features_docs_path }

%div
  %span= sprintf(s_('RegistrationFeatures|Want to %{feature_title} for free?'), { feature_title: feature_title })
  = render_if_exists 'shared/registration_features_discovery_settings_link'
  = html_escape(s_('RegistrationFeatures|Read more about the %{link_start}Registration Features Program%{link_end}.')) % { link_start: registration_features_link_start, link_end: '</a>'.html_safe }