Commit 1d6b3823 authored by Amy Qualls's avatar Amy Qualls Committed by Savas Vedova

Revise group-templates UI text for style

parent e7cfd585
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' } %button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded ? _('Collapse') : _('Expand') = expanded ? _('Collapse') : _('Expand')
%p %p
= _('Select the custom project template source group.') = _('Select a subgroup to use as a template when creating new projects in the group.')
.settings-content .settings-content
= form_for @application_setting, url: templates_admin_application_settings_path(anchor: 'js-custom-project-templates-settings') do |f| = form_for @application_setting, url: templates_admin_application_settings_path(anchor: 'js-custom-project-templates-settings') do |f|
...@@ -14,6 +14,12 @@ ...@@ -14,6 +14,12 @@
%fieldset %fieldset
.form-group .form-group
= f.label :file_template_project_id, class: 'label-bold' do
.form-text
= _('Search for a group')
= groups_select_tag('application_setting[custom_project_templates_group_id]', selected: @application_setting.custom_project_templates_group_id, class: 'input-clamp allowClear qa-custom-project-template-select', multiple: false) = groups_select_tag('application_setting[custom_project_templates_group_id]', selected: @application_setting.custom_project_templates_group_id, class: 'input-clamp allowClear qa-custom-project-template-select', multiple: false)
- link_start = '<a href="%{url}">'.html_safe % { url: help_page_path('user/group/custom_project_templates') }
= s_("GroupTemplate|The selected group's repositories and databases are copied into the projects created in this group. %{link_start}What should I add to my template group?%{link_end} ").html_safe % { link_start: link_start, link_end: "</a>".html_safe }
= f.submit _('Save changes'), class: "gl-button btn btn-confirm qa-save-changes-button" = f.submit _('Save changes'), class: "gl-button btn btn-confirm qa-save-changes-button"
...@@ -16126,6 +16126,9 @@ msgstr "" ...@@ -16126,6 +16126,9 @@ msgstr ""
msgid "GroupSettings|remove the share with group lock from %{ancestor_group_name}" msgid "GroupSettings|remove the share with group lock from %{ancestor_group_name}"
msgstr "" msgstr ""
msgid "GroupTemplate|The selected group's repositories and databases are copied into the projects created in this group. %{link_start}What should I add to my template group?%{link_end} "
msgstr ""
msgid "Groups" msgid "Groups"
msgstr "" msgstr ""
...@@ -29375,6 +29378,9 @@ msgstr "" ...@@ -29375,6 +29378,9 @@ msgstr ""
msgid "Select a shared template repository for all projects on this instance." msgid "Select a shared template repository for all projects on this instance."
msgstr "" msgstr ""
msgid "Select a subgroup to use as a template when creating new projects in the group."
msgstr ""
msgid "Select a template repository" msgid "Select a template repository"
msgstr "" msgstr ""
...@@ -29477,9 +29483,6 @@ msgstr "" ...@@ -29477,9 +29483,6 @@ msgstr ""
msgid "Select target branch" msgid "Select target branch"
msgstr "" msgstr ""
msgid "Select the custom project template source group."
msgstr ""
msgid "Select timezone" msgid "Select timezone"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment