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

10 lines
869 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-01-26 12:08:38 +05:30
- registration_features_docs_path = help_page_path('development/service_ping/index.md', anchor: 'registration-features-program')
- service_ping_settings_path = metrics_and_profiling_admin_application_settings_path(anchor: 'js-usage-settings')
%div
2022-03-02 08:16:31 +05:30
%span= sprintf(s_('RegistrationFeatures|Want to %{feature_title} for free?'), { feature_title: feature_title })
- if Gitlab.ee?
2022-01-26 12:08:38 +05:30
= link_to s_('RegistrationFeatures|Enable Service Ping and register for this feature.'), service_ping_settings_path
2022-03-02 08:16:31 +05:30
= sprintf(s_('RegistrationFeatures|Read more about the %{linkStart}%{label}%{linkEnd}.') , { linkStart: "<a href=\"#{registration_features_docs_path}\" target=\"_blank\">", label: s_('RegistrationFeatures|Registration Features Program'), linkEnd: "</a>" }).html_safe