summaryrefslogtreecommitdiff
path: root/app/views/projects/deploy_keys
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-04-25 17:45:05 +0100
committerPhil Hughes <me@iamphill.com>2016-04-25 17:45:05 +0100
commit54493b9aaef6b2209889a414cf3a26da131eb0ca (patch)
tree9d5c5106cc9e379716b4f427dbc31d7e4e5de84d /app/views/projects/deploy_keys
parent756185533cfef42f85f5ad5cf687768e9ed82bb5 (diff)
downloadgitlab-ce-54493b9aaef6b2209889a414cf3a26da131eb0ca.tar.gz
Updated tests for deploy keysproject-deploy-keys-ui
Diffstat (limited to 'app/views/projects/deploy_keys')
-rw-r--r--app/views/projects/deploy_keys/index.html.haml10
1 files changed, 4 insertions, 6 deletions
diff --git a/app/views/projects/deploy_keys/index.html.haml b/app/views/projects/deploy_keys/index.html.haml
index d82ef31ab4b..e230834e8ba 100644
--- a/app/views/projects/deploy_keys/index.html.haml
+++ b/app/views/projects/deploy_keys/index.html.haml
@@ -12,7 +12,7 @@
= render "form"
.col-lg-9.col-lg-offset-3
%hr
- .col-lg-9.col-lg-offset-3.append-bottom-default
+ .col-lg-9.col-lg-offset-3.append-bottom-default.deploy-keys
%h5.prepend-top-0
Enabled deploy keys for this project (#{@enabled_keys.size})
- if @enabled_keys.any?
@@ -21,8 +21,7 @@
- else
.profile-settings-message.text-center
No deploy keys found. Create one with the form above or add existing one below.
- .col-lg-9.col-lg-offset-3.append-bottom-default
- %h5.prepend-top-0
+ %h5.prepend-top-default
Deploy keys from projects you have access to (#{@available_project_keys.size})
- if @available_project_keys.any?
%ul.well-list
@@ -30,9 +29,8 @@
- else
.profile-settings-message.text-center
No deploy keys from your projects could be found. Create one with the form above or add existing one below.
- - if @available_public_keys.any?
- .col-lg-9.col-lg-offset-3.append-bottom-default
- %h5.prepend-top-0
+ - if @available_public_keys.any?
+ %h5.prepend-top-default
Public deploy keys available to any project (#{@available_public_keys.size})
%ul.well-list
= render @available_public_keys