diff options
| author | Douwe Maan <douwe@gitlab.com> | 2015-04-30 19:06:18 +0200 |
|---|---|---|
| committer | Douwe Maan <douwe@gitlab.com> | 2015-04-30 19:12:15 +0200 |
| commit | 26ad250989d82b496b131811f8a0ddd7e662b650 (patch) | |
| tree | a61059ff97f7d5bb1db163fa2dcb041065b092f2 /app/views/projects/blob | |
| parent | f2cf6d75ecc6082897543f976e8e4bee7ac24e90 (diff) | |
| download | gitlab-ce-26ad250989d82b496b131811f8a0ddd7e662b650.tar.gz | |
Add a page title to every page.
Diffstat (limited to 'app/views/projects/blob')
| -rw-r--r-- | app/views/projects/blob/edit.html.haml | 1 | ||||
| -rw-r--r-- | app/views/projects/blob/new.html.haml | 1 | ||||
| -rw-r--r-- | app/views/projects/blob/show.html.haml | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/blob/edit.html.haml b/app/views/projects/blob/edit.html.haml index 1f61a0b940c..e78181f8801 100644 --- a/app/views/projects/blob/edit.html.haml +++ b/app/views/projects/blob/edit.html.haml @@ -1,3 +1,4 @@ +- page_title "Edit", @blob.path, @ref .file-editor %ul.nav.nav-tabs.js-edit-mode %li.active diff --git a/app/views/projects/blob/new.html.haml b/app/views/projects/blob/new.html.haml index d78a01f6422..eb0d99d0152 100644 --- a/app/views/projects/blob/new.html.haml +++ b/app/views/projects/blob/new.html.haml @@ -1,3 +1,4 @@ +- page_title "New file", @ref %h3.page-title New file .file-editor = form_tag(namespace_project_create_blob_path(@project.namespace, @project, @id), method: :post, class: 'form-horizontal form-new-file') do diff --git a/app/views/projects/blob/show.html.haml b/app/views/projects/blob/show.html.haml index 69167654c39..a1d464bac59 100644 --- a/app/views/projects/blob/show.html.haml +++ b/app/views/projects/blob/show.html.haml @@ -1,3 +1,4 @@ +- page_title @blob.path, @ref %div.tree-ref-holder = render 'shared/ref_switcher', destination: 'blob', path: @path |
