summaryrefslogtreecommitdiff
path: root/app/views/admin
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-07-12 09:16:32 +0100
committerPhil Hughes <me@iamphill.com>2017-07-12 09:16:32 +0100
commit13cc761a09a88138294300cdcc26a6db28f3d67d (patch)
tree74863ef18cb1bd39f09306190294619c5ec301b7 /app/views/admin
parent9fcc28d42850eb7aa891b701721f803ebb0a3d55 (diff)
downloadgitlab-ce-13cc761a09a88138294300cdcc26a6db28f3d67d.tar.gz
moved `@breadcrumb_title` out of the HAML & into a helper method
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/applications/edit.html.haml2
-rw-r--r--app/views/admin/applications/new.html.haml2
-rw-r--r--app/views/admin/broadcast_messages/edit.html.haml2
-rw-r--r--app/views/admin/broadcast_messages/index.html.haml2
-rw-r--r--app/views/admin/services/edit.html.haml2
5 files changed, 5 insertions, 5 deletions
diff --git a/app/views/admin/applications/edit.html.haml b/app/views/admin/applications/edit.html.haml
index c9ad44be1e9..1d28d1c6c56 100644
--- a/app/views/admin/applications/edit.html.haml
+++ b/app/views/admin/applications/edit.html.haml
@@ -1,5 +1,5 @@
- page_title "Edit", @application.name, "Applications"
-- @breadcrumb_title = "Applications"
+- breadcrumb_title "Applications"
%h3.page-title Edit application
- @url = admin_application_path(@application)
diff --git a/app/views/admin/applications/new.html.haml b/app/views/admin/applications/new.html.haml
index a5d89ed9857..af0cc639670 100644
--- a/app/views/admin/applications/new.html.haml
+++ b/app/views/admin/applications/new.html.haml
@@ -1,5 +1,5 @@
- page_title "New Application"
-- @breadcrumb_title = "Applications"
+- breadcrumb_title "Applications"
%h3.page-title New application
- @url = admin_applications_path
diff --git a/app/views/admin/broadcast_messages/edit.html.haml b/app/views/admin/broadcast_messages/edit.html.haml
index d0e4d4435dd..8cbc4597e32 100644
--- a/app/views/admin/broadcast_messages/edit.html.haml
+++ b/app/views/admin/broadcast_messages/edit.html.haml
@@ -1,4 +1,4 @@
-- @breadcrumb_title = "Messages"
+- breadcrumb_title "Messages"
- page_title "Broadcast Messages"
= render 'form'
diff --git a/app/views/admin/broadcast_messages/index.html.haml b/app/views/admin/broadcast_messages/index.html.haml
index 2e4390c3614..b806882eee3 100644
--- a/app/views/admin/broadcast_messages/index.html.haml
+++ b/app/views/admin/broadcast_messages/index.html.haml
@@ -1,4 +1,4 @@
-- @breadcrumb_title = "Messages"
+- breadcrumb_title "Messages"
- page_title "Broadcast Messages"
%h3.page-title
diff --git a/app/views/admin/services/edit.html.haml b/app/views/admin/services/edit.html.haml
index 0a641c3f7a6..30a759f9913 100644
--- a/app/views/admin/services/edit.html.haml
+++ b/app/views/admin/services/edit.html.haml
@@ -1,3 +1,3 @@
-- @breadcrumb_title = "Service Templates"
+- breadcrumb_title "Service Templates"
- page_title @service.title, "Service Templates"
= render 'form'