summaryrefslogtreecommitdiff
path: root/app/views/snippets
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-10-06 16:21:38 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-10-19 22:33:48 +0800
commit0def36777e3f9e5f57fd0e1ebd023b43229622fc (patch)
tree07cf771689c60545564f3b13a5f1b7874e094260 /app/views/snippets
parent284100a8e3308eab37a1a8890afc3b96020f97ec (diff)
downloadgitlab-ce-0def36777e3f9e5f57fd0e1ebd023b43229622fc.tar.gz
Change single-item breadcrumbs to page titles
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/snippets')
-rw-r--r--app/views/snippets/new.html.haml13
1 files changed, 7 insertions, 6 deletions
diff --git a/app/views/snippets/new.html.haml b/app/views/snippets/new.html.haml
index c8a5e199674..6bc748d346e 100644
--- a/app/views/snippets/new.html.haml
+++ b/app/views/snippets/new.html.haml
@@ -1,8 +1,9 @@
- @hide_top_links = true
-- add_to_breadcrumbs "Snippets", dashboard_snippets_path
-- breadcrumb_title "New"
+- @hide_breadcrumbs = true
- page_title "New Snippet"
-%h3.page-title
- New Snippet
-%hr
-= render "shared/snippets/form", url: snippets_path(@snippet)
+
+.page-title-holder
+ %h1.page-title= _('New Snippet')
+
+.prepend-top-default
+ = render "shared/snippets/form", url: snippets_path(@snippet)