debian-mirror-gitlab/app/views/groups/settings/ci_cd/show.html.haml

28 lines
993 B
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
- breadcrumb_title "CI / CD Settings"
- page_title "CI / CD"
2017-09-10 17:25:29 +05:30
2018-10-15 14:42:47 +05:30
- expanded = Rails.env.test?
2018-03-17 18:26:18 +05:30
2018-12-13 13:39:08 +05:30
%section.settings#ci-variables.no-animate{ class: ('expanded' if expanded) }
2018-10-15 14:42:47 +05:30
.settings-header
%h4
2018-11-08 19:23:39 +05:30
= _('Variables')
= link_to icon('question-circle'), help_page_path('ci/variables/README', anchor: 'variables'), target: '_blank', rel: 'noopener noreferrer'
2018-10-15 14:42:47 +05:30
%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
2018-03-17 18:26:18 +05:30
2018-10-15 14:42:47 +05:30
%section.settings#runners-settings.no-animate{ class: ('expanded' if expanded) }
.settings-header
%h4
2018-11-08 19:23:39 +05:30
= _('Runners')
2018-10-15 14:42:47 +05:30
%button.btn.btn-default.js-settings-toggle{ type: "button" }
= expanded ? _('Collapse') : _('Expand')
%p
= _('Register and see your runners for this group.')
.settings-content
= render 'groups/runners/index'