gitlab-org--gitlab-foss/app/views/projects/deploy_keys/_index.html.haml

16 lines
643 B
Text
Raw Normal View History

- expanded = Rails.env.test?
%section.settings.no-animate{ class: ('expanded' if expanded) }
.settings-header
%h4
Deploy Keys
%button.btn.js-settings-toggle
= 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
2017-01-31 09:12:02 -05:00
= render @deploy_keys.form_partial_path
%hr
#js-deploy-keys{ data: { endpoint: project_deploy_keys_path(@project) } }