summaryrefslogtreecommitdiff
path: root/app/views/groups/settings
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-05-07 15:53:38 +0200
committerKamil Trzciński <ayufan@ayufan.eu>2018-05-07 15:53:38 +0200
commit0c57782c8e568f360837c0633d8e98fc2ccec396 (patch)
treee0a61ed0ad689d295d72addac66c324c77eed4d8 /app/views/groups/settings
parent131ca31b23863226e57e0e3dd2ea78f91573f631 (diff)
downloadgitlab-ce-0c57782c8e568f360837c0633d8e98fc2ccec396.tar.gz
Add internalization
Diffstat (limited to 'app/views/groups/settings')
-rw-r--r--app/views/groups/settings/ci_cd/show.html.haml16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/views/groups/settings/ci_cd/show.html.haml b/app/views/groups/settings/ci_cd/show.html.haml
index 43f1f786190..082e1b7befa 100644
--- a/app/views/groups/settings/ci_cd/show.html.haml
+++ b/app/views/groups/settings/ci_cd/show.html.haml
@@ -3,25 +3,25 @@
- expanded = Rails.env.test?
-%section.settings.no-animate{ class: ('expanded' if expanded) }
+%section.settings#secret-variables.no-animate{ class: ('expanded' if expanded) }
.settings-header
%h4
= _('Secret variables')
= link_to icon('question-circle'), help_page_path('ci/variables/README', anchor: 'secret-variables'), target: '_blank', rel: 'noopener noreferrer'
- %button.btn.js-settings-toggle
- = expanded ? 'Collapse' : 'Expand'
+ %button.btn.btn-default.js-settings-toggle{ type: "button" }
+ = expanded ? _('Collapse') : _('Expand')
%p.append-bottom-0
= render "ci/variables/content"
.settings-content
= render 'ci/variables/index', save_endpoint: group_variables_path
-%section.settings.no-animate{ class: ('expanded' if expanded) }
+%section.settings#runners-settings.no-animate{ class: ('expanded' if expanded) }
.settings-header
%h4
- Runners settings
- %button.btn.js-settings-toggle
- = expanded ? 'Collapse' : 'Expand'
+ = _('Runners settings')
+ %button.btn.btn-default.js-settings-toggle{ type: "button" }
+ = expanded ? _('Collapse') : _('Expand')
%p
- Register and see your runners for this group.
+ = _('Register and see your runners for this group.')
.settings-content
= render 'groups/runners/index'