diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-10-19 12:23:51 +0200 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-10-19 12:24:29 +0200 |
commit | 31d369b796466a726bbfce9ab72df11c8644f945 (patch) | |
tree | fd8a1128013b9cb60e2531e6048b1c3db162bc9e | |
parent | 8cf45f63613276f47099def265ab4cde8eb0c758 (diff) | |
download | gitlab-ce-31d369b796466a726bbfce9ab72df11c8644f945.tar.gz |
Use `to_reference` for Issue "show" and "edit" page titlesrs-revert-title-change
Thanks to Greg Laubenstein for noticing in !6503
-rw-r--r-- | app/views/projects/issues/edit.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/issues/show.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/issues/edit.html.haml b/app/views/projects/issues/edit.html.haml index 7cf1923456e..1b7d878c38c 100644 --- a/app/views/projects/issues/edit.html.haml +++ b/app/views/projects/issues/edit.html.haml @@ -1,4 +1,4 @@ -- page_title "Edit", "#{@issue.title} (##{@issue.iid})", "Issues" +- page_title "Edit", "#{@issue.title} (#{@issue.to_reference})", "Issues" %h3.page-title Edit Issue ##{@issue.iid} diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml index 49c47a7dc6a..6f3f238a436 100644 --- a/app/views/projects/issues/show.html.haml +++ b/app/views/projects/issues/show.html.haml @@ -1,4 +1,4 @@ -- page_title "#{@issue.title} (##{@issue.iid})", "Issues" +- page_title "#{@issue.title} (#{@issue.to_reference})", "Issues" - page_description @issue.description - page_card_attributes @issue.card_attributes |