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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
971 B
Text
Raw Normal View History

2019-07-31 22:56:46 +05:30
- expanded = expanded_by_default?
2021-06-08 01:23:25 +05:30
%section.rspec-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
2021-04-17 20:07:23 +05:30
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only= _('Deploy keys')
%button.btn.gl-button.btn-default.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
2021-03-11 19:13:27 +05:30
- link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('user/project/deploy_keys/index') }
= _("Add deploy keys to grant read/write access to this repository. %{link_start}What are deploy keys?%{link_end}").html_safe % { link_start: link_start, link_end: '</a>'.html_safe }
2018-03-17 18:26:18 +05:30
.settings-content
2020-06-23 00:09:42 +05:30
%h5.gl-mt-0
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 } }