summaryrefslogtreecommitdiff
path: root/app/views/groups
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-14 19:46:58 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-14 19:46:58 +0200
commit0c8f07774c2a128aa8aff6be00ed91be2a08cddb (patch)
treeb1a23241807ed9e8e1d38b945288b831a4cda4d2 /app/views/groups
parentb35d5a6a16d3ce390f21459e2989e8c41bce3150 (diff)
downloadgitlab-ce-0c8f07774c2a128aa8aff6be00ed91be2a08cddb.tar.gz
Add page titles to header for group and project
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/groups')
-rw-r--r--app/views/groups/edit.html.haml2
-rw-r--r--app/views/groups/projects.html.haml2
2 files changed, 4 insertions, 0 deletions
diff --git a/app/views/groups/edit.html.haml b/app/views/groups/edit.html.haml
index ac7d9ba0f4f..ae8fc9f85f0 100644
--- a/app/views/groups/edit.html.haml
+++ b/app/views/groups/edit.html.haml
@@ -1,4 +1,6 @@
+- header_title group_title(@group, "Settings", edit_group_path(@group))
- @blank_container = true
+
.panel.panel-default
.panel-heading
%strong= @group.name
diff --git a/app/views/groups/projects.html.haml b/app/views/groups/projects.html.haml
index d06cfa7ff9f..f1d507a50c7 100644
--- a/app/views/groups/projects.html.haml
+++ b/app/views/groups/projects.html.haml
@@ -1,4 +1,6 @@
- page_title "Projects"
+- header_title group_title(@group, "Projects", projects_group_path(@group))
+
.panel.panel-default
.panel-heading
%strong= @group.name