2016-04-25 11:26:41 -04:00
.row.prepend-top-default
.col-lg-3.profile-settings-sidebar
%h4.prepend-top-0
2017-01-23 19:28:40 -05:00
Deploy Keys
2016-04-25 11:26:41 -04:00
%p
2017-03-08 13:14:02 -05:00
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.
2016-04-25 11:26:41 -04:00
.col-lg-9
%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
2016-04-25 11:26:41 -04:00
.col-lg-9.col-lg-offset-3
%hr
2016-04-25 12:45:05 -04:00
.col-lg-9.col-lg-offset-3.append-bottom-default.deploy-keys
2016-04-25 11:26:41 -04:00
%h5.prepend-top-0
2017-01-31 09:12:02 -05:00
Enabled deploy keys for this project (#{@deploy_keys.enabled_keys_size})
- if @deploy_keys.any_keys_enabled?
2016-04-25 11:26:41 -04:00
%ul.well-list
2017-02-28 12:49:32 -05:00
= render partial: 'projects/deploy_keys/deploy_key', collection: @deploy_keys.enabled_keys, as: :deploy_key
2016-04-25 11:26:41 -04:00
- else
2016-05-16 10:40:44 -04:00
.settings-message.text-center
2017-02-21 16:37:00 -05:00
No deploy keys found. Create one with the form above.
2016-04-25 12:45:05 -04:00
%h5.prepend-top-default
2017-01-31 09:12:02 -05:00
Deploy keys from projects you have access to (#{@deploy_keys.available_project_keys_size})
- if @deploy_keys.any_available_project_keys_enabled?
2016-04-25 11:26:41 -04:00
%ul.well-list
2017-02-28 12:49:32 -05:00
= render partial: 'projects/deploy_keys/deploy_key', collection: @deploy_keys.available_project_keys, as: :deploy_key
2016-04-25 11:26:41 -04:00
- else
2016-05-16 10:40:44 -04:00
.settings-message.text-center
2016-04-25 11:26:41 -04:00
No deploy keys from your projects could be found. Create one with the form above or add existing one below.
2017-01-31 09:12:02 -05:00
- if @deploy_keys.any_available_public_keys_enabled?
2016-04-25 12:45:05 -04:00
%h5.prepend-top-default
2017-01-31 09:12:02 -05:00
Public deploy keys available to any project (#{@deploy_keys.available_public_keys_size})
2016-04-25 11:26:41 -04:00
%ul.well-list
2017-02-28 12:49:32 -05:00
= render partial: 'projects/deploy_keys/deploy_key', collection: @deploy_keys.available_public_keys, as: :deploy_key