summaryrefslogtreecommitdiff
path: root/app/views/projects/settings/ci_cd/show.html.haml
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2018-04-17 11:37:16 -0500
committerJose <jivanvl@hotmail.com>2018-04-20 12:48:04 -0500
commitea7127dea929bd47b9142f1550841e196898b7b3 (patch)
treeccf9699d155555232a6ce8ffe990e7068f76ec7c /app/views/projects/settings/ci_cd/show.html.haml
parent4745361c1f714812d6d07ba5b8a1dc686e9e74e4 (diff)
downloadgitlab-ce-ea7127dea929bd47b9142f1550841e196898b7b3.tar.gz
Changed anchor not to have the js prefix, add i18n
Diffstat (limited to 'app/views/projects/settings/ci_cd/show.html.haml')
-rw-r--r--app/views/projects/settings/ci_cd/show.html.haml14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/projects/settings/ci_cd/show.html.haml b/app/views/projects/settings/ci_cd/show.html.haml
index 7ff3b1986b8..5f596a019f7 100644
--- a/app/views/projects/settings/ci_cd/show.html.haml
+++ b/app/views/projects/settings/ci_cd/show.html.haml
@@ -5,7 +5,7 @@
- expanded = Rails.env.test?
- general_expanded = @project.errors.empty? ? expanded : true
-%section.settings.general-ci-settings.no-animate{ class: ('expanded' if general_expanded) }
+%section.settings#js-general-pipeline-settings.no-animate{ class: ('expanded' if general_expanded) }
.settings-header
%h4
General pipelines settings
@@ -16,15 +16,15 @@
.settings-content
= render 'form'
-%section.settings#js-autodevops-settings.autodevops-settings.no-animate{ class: ('expanded' if expanded) }
+%section.settings#autodevops-settings.no-animate{ class: ('expanded' if expanded) }
.settings-header
%h4
- Auto DevOps (Beta)
- %button.btn.js-settings-toggle{ type: 'button' }
- = expanded ? 'Collapse' : 'Expand'
+ = s_('CICD|Auto DevOps (Beta)')
+ %button.btn.btn-default.js-settings-toggle{ type: 'button' }
+ = expanded ? _('Collapse') : _('Expand')
%p
- Auto DevOps will automatically build, test, and deploy your application based on a predefined Continuous Integration and Delivery configuration.
- = link_to 'Learn more about Auto DevOps', help_page_path('topics/autodevops/index.md')
+ = s_('CICD|Auto DevOps will automatically build, test, and deploy your application based on a predefined Continuous Integration and Delivery configuration.')
+ = link_to s_('CICD|Learn more about Auto DevOps'), help_page_path('topics/autodevops/index.md')
.settings-content
= render 'autodevops_form'