diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-13 11:43:28 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-04-17 13:54:08 -0500 |
commit | 6bd5ec6a1dc8a84236c3e144aca59c7af8b0ca6d (patch) | |
tree | 2123b406bbb4990fbc9385c914762460349060a6 /app/views/snippets | |
parent | 41acc87fbd457d2894fb519eb48f215d017ddec2 (diff) | |
download | gitlab-ce-6bd5ec6a1dc8a84236c3e144aca59c7af8b0ca6d.tar.gz |
Add snippet IID to snippet page titlesdm-snippet-page-title
Diffstat (limited to 'app/views/snippets')
-rw-r--r-- | app/views/snippets/edit.html.haml | 2 | ||||
-rw-r--r-- | app/views/snippets/show.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/snippets/edit.html.haml b/app/views/snippets/edit.html.haml index 915bf98eb3e..18ebeb78f87 100644 --- a/app/views/snippets/edit.html.haml +++ b/app/views/snippets/edit.html.haml @@ -1,4 +1,4 @@ -- page_title "Edit", @snippet.title, "Snippets" +- page_title "Edit", "#{@snippet.title} (#{@snippet.to_reference})", "Snippets" %h3.page-title Edit Snippet %hr diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml index da9fb755a36..e5711ca79c7 100644 --- a/app/views/snippets/show.html.haml +++ b/app/views/snippets/show.html.haml @@ -1,4 +1,4 @@ -- page_title @snippet.title, "Snippets" +- page_title "#{@snippet.title} (#{@snippet.to_reference})", "Snippets" = render 'shared/snippets/header' |