Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_index.html.haml « deploy_keys « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 24d665761ccf5ce34a666daf7b6a93d4fac5aa52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- expanded = Rails.env.test?
%section.qa-deploy-keys-settings.settings.no-animate#js-deploy-keys-settings{ class: ('expanded' if expanded) }
  .settings-header
    %h4
      Deploy Keys
    %button.btn.js-settings-toggle{ type: 'button' }
      = expanded ? 'Collapse' : 'Expand'
    %p
      Deploy keys allow read-only or read-write (if enabled) access to your repository. Deploy keys can be used for CI, staging or production servers. You can create a deploy key or add an existing one.
  .settings-content
    %h5.prepend-top-0
      Create a new deploy key for this project
    = render @deploy_keys.form_partial_path
    %hr
    #js-deploy-keys{ data: { endpoint: project_deploy_keys_path(@project), project_id: @project.id } }