summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-07-12 09:04:22 +0100
committerPhil Hughes <me@iamphill.com>2017-07-12 09:04:22 +0100
commit9fcc28d42850eb7aa891b701721f803ebb0a3d55 (patch)
tree8d5d2fb960d06b9324d22819d1261dfbf337eac6 /app/views/projects
parentab6c89356a4b24591d182942ddc7567cf80017fe (diff)
downloadgitlab-ce-9fcc28d42850eb7aa891b701721f803ebb0a3d55.tar.gz
moved declaration of `breadcrumb_title` into `page_title` method
`breadcrumb_title` is then overriden when needed
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/activity.html.haml1
-rw-r--r--app/views/projects/boards/_show.html.haml1
-rw-r--r--app/views/projects/edit.html.haml1
-rw-r--r--app/views/projects/graphs/charts.html.haml1
-rw-r--r--app/views/projects/graphs/show.html.haml1
-rw-r--r--app/views/projects/network/show.html.haml1
-rw-r--r--app/views/projects/pipelines/charts.html.haml1
-rw-r--r--app/views/projects/project_members/index.html.haml1
-rw-r--r--app/views/projects/settings/ci_cd/show.html.haml1
9 files changed, 0 insertions, 9 deletions
diff --git a/app/views/projects/activity.html.haml b/app/views/projects/activity.html.haml
index dc79be269c6..9e2688e492e 100644
--- a/app/views/projects/activity.html.haml
+++ b/app/views/projects/activity.html.haml
@@ -1,5 +1,4 @@
- @no_container = true
-- @breadcrumb_title = "Activity"
- if show_new_nav?
- add_to_breadcrumbs("Project", project_path(@project))
diff --git a/app/views/projects/boards/_show.html.haml b/app/views/projects/boards/_show.html.haml
index 49a92240f91..2076e46fde8 100644
--- a/app/views/projects/boards/_show.html.haml
+++ b/app/views/projects/boards/_show.html.haml
@@ -1,6 +1,5 @@
- @no_container = true
- @content_class = "issue-boards-content"
-- @breadcrumb_title = "Board"
- page_title "Boards"
- if show_new_nav?
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index 9f4d0faf3a2..087cb804449 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -1,5 +1,4 @@
- @content_class = "limit-container-width" unless fluid_layout
-- @breadcrumb_title = "Settings"
= render "projects/settings/head"
.project-edit-container
diff --git a/app/views/projects/graphs/charts.html.haml b/app/views/projects/graphs/charts.html.haml
index 36920260ae8..249b9d82ad9 100644
--- a/app/views/projects/graphs/charts.html.haml
+++ b/app/views/projects/graphs/charts.html.haml
@@ -1,5 +1,4 @@
- @no_container = true
-- @breadcrumb_title = "Charts"
- page_title "Charts"
- if show_new_nav?
- add_to_breadcrumbs("Repository", project_tree_path(@project))
diff --git a/app/views/projects/graphs/show.html.haml b/app/views/projects/graphs/show.html.haml
index 2d37963fb7d..4256a8c4d7e 100644
--- a/app/views/projects/graphs/show.html.haml
+++ b/app/views/projects/graphs/show.html.haml
@@ -1,5 +1,4 @@
- @no_container = true
-- @breadcrumb_title = "Contributors"
- page_title "Contributors"
- content_for :page_specific_javascripts do
= page_specific_javascript_bundle_tag('common_d3')
diff --git a/app/views/projects/network/show.html.haml b/app/views/projects/network/show.html.haml
index 314914fd7b2..f660c156297 100644
--- a/app/views/projects/network/show.html.haml
+++ b/app/views/projects/network/show.html.haml
@@ -1,4 +1,3 @@
-- @breadcrumb_title = "Graph"
- page_title "Graph", @ref
- content_for :page_specific_javascripts do
= page_specific_javascript_bundle_tag('network')
diff --git a/app/views/projects/pipelines/charts.html.haml b/app/views/projects/pipelines/charts.html.haml
index 7cc43501497..fd3ad69d85d 100644
--- a/app/views/projects/pipelines/charts.html.haml
+++ b/app/views/projects/pipelines/charts.html.haml
@@ -1,5 +1,4 @@
- @no_container = true
-- @breadcrumb_title = "Charts"
- page_title _("Charts"), _("Pipelines")
- if show_new_nav?
- add_to_breadcrumbs("Pipelines", project_pipelines_path(@project))
diff --git a/app/views/projects/project_members/index.html.haml b/app/views/projects/project_members/index.html.haml
index 74b10574da0..9f7c5a315eb 100644
--- a/app/views/projects/project_members/index.html.haml
+++ b/app/views/projects/project_members/index.html.haml
@@ -1,4 +1,3 @@
-- @breadcrumb_title = "Members"
- page_title "Members"
- if show_new_nav?
diff --git a/app/views/projects/settings/ci_cd/show.html.haml b/app/views/projects/settings/ci_cd/show.html.haml
index 3f118f8933d..0c4130857da 100644
--- a/app/views/projects/settings/ci_cd/show.html.haml
+++ b/app/views/projects/settings/ci_cd/show.html.haml
@@ -1,5 +1,4 @@
- @content_class = "limit-container-width" unless fluid_layout
-- @breadcrumb_title = "Pipelines"
- page_title "Pipelines"
- if show_new_nav?