summaryrefslogtreecommitdiff
path: root/app/views/projects/deploy_keys
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-04-28 17:06:19 +0100
committerPhil Hughes <me@iamphill.com>2017-04-28 17:06:19 +0100
commite11a702afceee7f5edeb8c93a4192fa05209b091 (patch)
treeecb9cea80803638c9b8878b091793beb3ed88720 /app/views/projects/deploy_keys
parent79e2a524e22e5474c5b33deb81ac6cc51512d2e5 (diff)
downloadgitlab-ce-e11a702afceee7f5edeb8c93a4192fa05209b091.tar.gz
Re-wrote to match our docs - still not 100% sure but closer than it was
Diffstat (limited to 'app/views/projects/deploy_keys')
-rw-r--r--app/views/projects/deploy_keys/_index.html.haml14
1 files changed, 1 insertions, 13 deletions
diff --git a/app/views/projects/deploy_keys/_index.html.haml b/app/views/projects/deploy_keys/_index.html.haml
index b35cd356aa5..74756b58439 100644
--- a/app/views/projects/deploy_keys/_index.html.haml
+++ b/app/views/projects/deploy_keys/_index.html.haml
@@ -10,16 +10,4 @@
= render @deploy_keys.form_partial_path
.col-lg-9.col-lg-offset-3
%hr
- #js-deploy-keys.col-lg-9.col-lg-offset-3.append-bottom-default{data:{endpoint: namespace_project_deploy_keys_path}}
- %h5.prepend-top-0
- Enabled deploy keys for this project ({{enabledKeys.length}})
- %ul.well-list{"v-if" => "enabledKeys.length"}
- %deploy-key-row{"v-for" => "deployKey in enabledKeys", ":deploy-key" => "deployKey", ":enabled" =>"true"}
- .settings-message.text-center{"v-else" => true}
- No deploy keys found. Create one with the form above.
- %h5.prepend-top-0
- Deploy keys from projects you have access to ({{availableKeys.length}})
- %ul.well-list{"v-if" => "availableKeys.length"}
- %deploy-key-row{"v-for" => "deployKey in availableKeys", ":deploy-key" => "deployKey", ":enabled" =>"false"}
- .settings-message.text-center{"v-else" => true}
- No deploy keys found. Create one with the form above.
+ #js-deploy-keys{ data: { endpoint: namespace_project_deploy_keys_path } }