summaryrefslogtreecommitdiff
path: root/app/views/layouts/profile.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/layouts/profile.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/layouts/profile.html.haml')
-rw-r--r--app/views/layouts/profile.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/layouts/profile.html.haml b/app/views/layouts/profile.html.haml
index 77d2ccbf762..b80ce0dfc75 100644
--- a/app/views/layouts/profile.html.haml
+++ b/app/views/layouts/profile.html.haml
@@ -1,5 +1,6 @@
- page_title "Profile Settings"
-- header_title "Profile Settings", profile_path
+- unless @header_title
+ - header_title "Profile Settings", profile_path
- sidebar "profile"
= render template: "layouts/application"