summaryrefslogtreecommitdiff
path: root/app/views/profiles/keys/index.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-09 23:05:47 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-09 23:05:47 +0200
commit1e3ce07714efcc5ac18bb2f167c5b4956e114839 (patch)
tree4dbc48deaa78cd33ca1ed69f93ce0f298af2625f /app/views/profiles/keys/index.html.haml
parentfa40759768518d3457cc95204d6496db999aa7ca (diff)
downloadgitlab-ce-1e3ce07714efcc5ac18bb2f167c5b4956e114839.tar.gz
Use page title for header title too
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/profiles/keys/index.html.haml')
-rw-r--r--app/views/profiles/keys/index.html.haml13
1 files changed, 7 insertions, 6 deletions
diff --git a/app/views/profiles/keys/index.html.haml b/app/views/profiles/keys/index.html.haml
index 06655f7ba3a..14adba1c797 100644
--- a/app/views/profiles/keys/index.html.haml
+++ b/app/views/profiles/keys/index.html.haml
@@ -1,11 +1,12 @@
- page_title "SSH Keys"
-%h3.page-title
- = page_title
+- header_title page_title, profile_keys_path
+
+.gray-content-block.top-block
.pull-right
= link_to "Add SSH Key", new_profile_key_path, class: "btn btn-new"
-%p.light
- Before you can add an SSH key you need to
- = link_to "generate it.", help_page_path("ssh", "README")
-%hr
+ .oneline
+ Before you can add an SSH key you need to
+ = link_to "generate it.", help_page_path("ssh", "README")
+.prepend-top-default
= render 'key_table'