Commit graph

15 commits

Author SHA1 Message Date
Douwe Maan
384445eca6 Don't override issue page description in project layout. 2016-01-06 13:02:51 +01:00
Robert Speicher
43053c2e6f Make page_description less magical 2016-01-05 14:54:59 -05:00
Robert Speicher
a298f69432 Use User#avatar_url instead of avatar_icon helper 2016-01-05 14:50:52 -05:00
Douwe Maan
bd21e3d731 Add Open Graph data for group, project and commit. 2015-12-25 16:41:02 +01:00
Robert Speicher
ab3d855c0e Add support for twitter:label meta tags 2015-12-24 17:11:08 -05:00
Robert Speicher
c6d2508362 Truncate page_description to 30 words 2015-12-24 16:26:52 -05:00
Robert Speicher
5a3b9c97e3 Account for @project.description being nil 2015-12-23 17:14:18 -05:00
Robert Speicher
b26eb782f5 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.
2015-12-23 16:56:27 -05:00
Douwe Maan
69709bbdd0 Separate page title segments by middot rather than pipe 2015-12-02 14:57:51 +01:00
Peter Göbel
291e1fa930 improved code style and layout option naming 2015-10-05 18:09:05 +02:00
Peter Göbel
e2c5d08e7e added user preference to change layout width 2015-10-05 17:22:47 +02:00
Dmitriy Zaporozhets
af3b6f6362 Fix fixed layout
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-10 09:52:02 +02:00
Dmitriy Zaporozhets
10b6a92481
Style panels and add blank container
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-09 23:29:19 +02:00
Dmitriy Zaporozhets
0276e9032a
Limit content width for big screens except certain pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-26 11:51:28 +02:00
Douwe Maan
92fd3ccee0 Add helpers for header title and sidebar, and move setting those from controllers to layouts. 2015-05-01 10:39:16 +02:00