diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-12-23 16:56:27 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-12-23 16:56:27 -0500 |
commit | b26eb782f5536d8c383aebe3d65571fb16a20bcd (patch) | |
tree | 5ce450e297a9de15925ecfbead926b36a153f4e7 /app/views/projects/issues/show.html.haml | |
parent | 3f452f539b909d1a379a4f3c5d48307246a14fff (diff) | |
download | gitlab-ce-b26eb782f5536d8c383aebe3d65571fb16a20bcd.tar.gz |
Add page descriptions and images
A limited number of pages have defined their own descriptions, but
otherwise we default to the Project's description (if `@project` is
set), or the old `brand_title` fallback.
The image will either be the uploaded project icon (never a generated
one), the user's uploaded icon or Gravatar, or, finally, the GitLab
logo.
Diffstat (limited to 'app/views/projects/issues/show.html.haml')
-rw-r--r-- | app/views/projects/issues/show.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml index b6efa05a1ae..f2a261ab426 100644 --- a/app/views/projects/issues/show.html.haml +++ b/app/views/projects/issues/show.html.haml @@ -1,4 +1,6 @@ -- page_title "#{@issue.title} (##{@issue.iid})", "Issues" +- page_title "#{@issue.title} (##{@issue.iid})", "Issues" +- page_description @issue.description + = render "header_title" .issue |