debian-mirror-gitlab/app/views/shared/_registration_features_discovery_message.html.haml

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

9 lines
759 B
Text
Raw Normal View History

2022-03-02 08:16:31 +05:30
- feature_title = local_assigns.fetch(:feature_title, s_('RegistrationFeatures|use this feature'))
2022-07-16 23:28:13 +05:30
- registration_features_docs_path = help_page_path('user/admin_area/settings/usage_statistics.md', anchor: 'registration-features-program')
2022-04-04 11:22:00 +05:30
- registration_features_link_start = '<a href="%{url}" target="_blank">'.html_safe % { url: registration_features_docs_path }
2022-01-26 12:08:38 +05:30
%div
2022-03-02 08:16:31 +05:30
%span= sprintf(s_('RegistrationFeatures|Want to %{feature_title} for free?'), { feature_title: feature_title })
2022-04-04 11:22:00 +05:30
= 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 }