summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-05-01 10:39:11 +0200
committerDouwe Maan <douwe@gitlab.com>2015-05-01 10:39:16 +0200
commit92fd3ccee05acdfd5e498734ed287458a8dd21a3 (patch)
treea794a8017636ce7f50a7f4ef4201395894a5451e /app/views/projects
parentae09c2a6db0d15caedc080c319add147c79fd02a (diff)
downloadgitlab-ce-92fd3ccee05acdfd5e498734ed287458a8dd21a3.tar.gz
Add helpers for header title and sidebar, and move setting those from controllers to layouts.
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/edit.html.haml1
-rw-r--r--app/views/projects/new.html.haml2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index 1fe6a24e89f..c09d794ef7f 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -1,4 +1,3 @@
-- page_title "Settings"
.project-edit-container
.project-edit-errors
.project-edit-content
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index 47c69f89a97..e56d8615132 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -1,3 +1,5 @@
+- page_title 'New Project'
+- header_title 'New Project'
.project-edit-container
.project-edit-errors
= render 'projects/errors'