summaryrefslogtreecommitdiff
path: root/app/views/groups/settings/ci_cd/show.html.haml
blob: 647948c7dff6d4a7b4277446043e62580defc731 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
- breadcrumb_title "CI / CD Settings"
- page_title "CI / CD"

- expanded = Rails.env.test?

%section.settings#secret-variables.no-animate{ class: ('expanded' if expanded) }
  .settings-header
    %h4
      = _('Variables')
      = link_to icon('question-circle'), help_page_path('ci/variables/README', anchor: 'variables'), target: '_blank', rel: 'noopener noreferrer'
    %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#runners-settings.no-animate{ class: ('expanded' if expanded) }
  .settings-header
    %h4
      = _('Runners')
    %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'