summaryrefslogtreecommitdiff
path: root/app/views/projects/milestones
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-12-23 16:56:27 -0500
committerRobert Speicher <rspeicher@gmail.com>2015-12-23 16:56:27 -0500
commitb26eb782f5536d8c383aebe3d65571fb16a20bcd (patch)
tree5ce450e297a9de15925ecfbead926b36a153f4e7 /app/views/projects/milestones
parent3f452f539b909d1a379a4f3c5d48307246a14fff (diff)
downloadgitlab-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/milestones')
-rw-r--r--app/views/projects/milestones/show.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml
index 7e73ae274e9..1670ea8741a 100644
--- a/app/views/projects/milestones/show.html.haml
+++ b/app/views/projects/milestones/show.html.haml
@@ -1,4 +1,6 @@
-- page_title @milestone.title, "Milestones"
+- page_title @milestone.title, "Milestones"
+- page_description @milestone.description
+
= render "header_title"
.detail-page-header