Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-12-24 00:56:27 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-12-24 00:56:27 +0300
commitb26eb782f5536d8c383aebe3d65571fb16a20bcd (patch)
tree5ce450e297a9de15925ecfbead926b36a153f4e7 /app/views/projects/milestones/show.html.haml
parent3f452f539b909d1a379a4f3c5d48307246a14fff (diff)
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/show.html.haml')
-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