Commit 98b1d76c authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch '38479-rename-secret-variables-to-variables' into 'master'

Resolve "Rename "secret variables" to "variables""

See merge request gitlab-org/gitlab-ce!19103
parents bb88fb7e 7f1b7152
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
%section.settings#secret-variables.no-animate{ class: ('expanded' if expanded) } %section.settings#secret-variables.no-animate{ class: ('expanded' if expanded) }
.settings-header .settings-header
%h4 %h4
= _('Secret variables') = _('Variables')
= link_to icon('question-circle'), help_page_path('ci/variables/README', anchor: 'secret-variables'), target: '_blank', rel: 'noopener noreferrer' = link_to icon('question-circle'), help_page_path('ci/variables/README', anchor: 'secret-variables'), target: '_blank', rel: 'noopener noreferrer'
%button.btn.btn-default.js-settings-toggle{ type: "button" } %button.btn.btn-default.js-settings-toggle{ type: "button" }
= expanded ? _('Collapse') : _('Expand') = expanded ? _('Collapse') : _('Expand')
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
%section.settings.no-animate{ class: ('expanded' if expanded) } %section.settings.no-animate{ class: ('expanded' if expanded) }
.settings-header .settings-header
%h4 %h4
= _('Secret variables') = _('Variables')
= link_to icon('question-circle'), help_page_path('ci/variables/README', anchor: 'secret-variables'), target: '_blank', rel: 'noopener noreferrer' = link_to icon('question-circle'), help_page_path('ci/variables/README', anchor: 'secret-variables'), target: '_blank', rel: 'noopener noreferrer'
%button.btn.js-settings-toggle{ type: 'button' } %button.btn.js-settings-toggle{ type: 'button' }
= expanded ? 'Collapse' : 'Expand' = expanded ? 'Collapse' : 'Expand'
......
...@@ -3517,7 +3517,7 @@ msgstr "" ...@@ -3517,7 +3517,7 @@ msgstr ""
msgid "Seconds to wait for a storage access attempt" msgid "Seconds to wait for a storage access attempt"
msgstr "" msgstr ""
msgid "Secret variables" msgid "Variables"
msgstr "" msgstr ""
msgid "Select Archive Format" msgid "Select Archive Format"
......
...@@ -7,7 +7,7 @@ module QA # rubocop:disable Naming/FileName ...@@ -7,7 +7,7 @@ module QA # rubocop:disable Naming/FileName
view 'app/views/projects/settings/ci_cd/show.html.haml' do view 'app/views/projects/settings/ci_cd/show.html.haml' do
element :runners_settings, 'Runners settings' element :runners_settings, 'Runners settings'
element :secret_variables, 'Secret variables' element :secret_variables, 'Variables'
end end
def expand_runners_settings(&block) def expand_runners_settings(&block)
...@@ -17,7 +17,7 @@ module QA # rubocop:disable Naming/FileName ...@@ -17,7 +17,7 @@ module QA # rubocop:disable Naming/FileName
end end
def expand_secret_variables(&block) def expand_secret_variables(&block)
expand_section('Secret variables') do expand_section('Variables') do
Settings::SecretVariables.perform(&block) Settings::SecretVariables.perform(&block)
end end
end end
......
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