Commit graph

23 commits

Author SHA1 Message Date
Phil Hughes
7b1affd426 use .last instead 2017-07-14 08:56:06 +01:00
Phil Hughes
13cc761a09 moved @breadcrumb_title out of the HAML & into a helper method 2017-07-12 09:16:32 +01:00
Phil Hughes
9fcc28d428 moved declaration of breadcrumb_title into page_title method
`breadcrumb_title` is then overriden when needed
2017-07-12 09:04:22 +01:00
Simon Knox
679ce9dbb3 dev favicon is blue, not purple 2017-02-16 06:55:52 +11:00
Simon Knox
e15032eded override favicon for development to find tabs more easily 2017-02-16 01:07:29 +11:00
Mike Greiling
76ae5af8ce ensure the 'fixed layout' preference is honored whenever possible
see #22343 for issue description
2016-09-20 00:51:00 -05:00
Grzegorz Bizon
28bafd5354 Enable Style/SpaceAfterComma Rubocop cop 2016-06-29 15:23:44 +02:00
Dmitriy Zaporozhets
324e57693b
Implement top navigation concept for profile area
Main idea is to keep left sidebar static so user is not confused by
changing context. Instead we put changing navigation with changing
content in one main block

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-04-19 20:05:30 +02:00
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