2022-01-06 07:14:04 -05:00
- feature_title = local_assigns.fetch(:feature_title, s_('RegistrationFeatures|use this feature'))
2022-04-22 14:09:22 -04:00
- registration_features_docs_path = help_page_path('user/admin_area/settings/usage_statistics.md', anchor: 'registration-features-program')
2022-01-20 13:14:18 -05:00
- registration_features_link_start = '<a href="%{url}" target="_blank">'.html_safe % { url: registration_features_docs_path }
2021-12-15 22:13:22 -05:00
%div
2022-01-06 07:14:04 -05:00
%span= sprintf(s_('RegistrationFeatures|Want to %{feature_title} for free?'), { feature_title: feature_title })
2022-01-20 13:14:18 -05:00
= 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 }