diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-18 09:11:18 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-18 09:11:18 +0000 |
commit | f937ac867de9c70aaba5b541f6ebfe0461c28b4d (patch) | |
tree | 914e1a6c50a5e654fe6a6553450cef2e30513c6e /app/views/layouts/project_settings.html.haml | |
parent | e9a568099886482c3f1565f4d58b939e5e92f39b (diff) | |
parent | 5faa6e75d09cf4c957a14c88b28c156610d035a7 (diff) | |
download | gitlab-ce-f937ac867de9c70aaba5b541f6ebfe0461c28b4d.tar.gz |
Merge branch 'project-header-titles' into 'master'
Project header titles
Fixes my issues with !1293, see [my comment](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/1293#note_2112289):
> No please, not this huge if/else statement again! This will get out of sync so quickly, like happened with the original page titles before the page_title helper per page :(
cc @haynes
See merge request !1328
Diffstat (limited to 'app/views/layouts/project_settings.html.haml')
-rw-r--r-- | app/views/layouts/project_settings.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/layouts/project_settings.html.haml b/app/views/layouts/project_settings.html.haml index 43401668334..59ce38f67bb 100644 --- a/app/views/layouts/project_settings.html.haml +++ b/app/views/layouts/project_settings.html.haml @@ -1,4 +1,5 @@ - page_title "Settings" +- header_title project_title(@project, "Settings", edit_project_path(@project)) - sidebar "project_settings" = render template: "layouts/project" |