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

15 lines
802 B
Text
Raw Normal View History

2019-07-31 22:56:46 +05:30
- expanded = expanded_by_default?
2020-10-24 23:57:45 +05:30
%section.qa-deploy-keys-settings.settings.no-animate#js-deploy-keys-settings{ class: ('expanded' if expanded), data: { qa_selector: 'deploy_keys_settings_content' } }
2017-09-10 17:25:29 +05:30
.settings-header
2020-05-24 23:13:21 +05:30
%h4= _('Deploy Keys')
2019-03-02 22:35:43 +05:30
%button.btn.js-settings-toggle{ type: 'button' }
2017-09-10 17:25:29 +05:30
= expanded ? 'Collapse' : 'Expand'
2017-08-17 22:00:37 +05:30
%p
2020-05-24 23:13:21 +05:30
= _('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
2020-06-23 00:09:42 +05:30
%h5.gl-mt-0
2020-05-24 23:13:21 +05:30
= _('Create a new deploy key for this project')
2017-08-17 22:00:37 +05:30
= render @deploy_keys.form_partial_path
%hr
2018-10-15 14:42:47 +05:30
#js-deploy-keys{ data: { endpoint: project_deploy_keys_path(@project), project_id: @project.id } }