debian-mirror-gitlab/app/views/projects/deploy_keys/_index.html.haml

16 lines
683 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- expanded = Rails.env.test?
2018-03-17 18:26:18 +05:30
%section.settings.no-animate{ class: ('expanded' if expanded) }
2017-09-10 17:25:29 +05:30
.settings-header
%h4
2017-08-17 22:00:37 +05:30
Deploy Keys
2018-05-09 12:01:36 +05:30
%button.btn.js-settings-toggle.qa-expand-deploy-keys{ type: 'button' }
2017-09-10 17:25:29 +05:30
= expanded ? 'Collapse' : 'Expand'
2017-08-17 22:00:37 +05:30
%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.
2018-03-17 18:26:18 +05:30
.settings-content
2017-08-17 22:00:37 +05:30
%h5.prepend-top-0
Create a new deploy key for this project
= render @deploy_keys.form_partial_path
%hr
2017-09-10 17:25:29 +05:30
#js-deploy-keys{ data: { endpoint: project_deploy_keys_path(@project) } }