Commit graph

13 commits

Author SHA1 Message Date
Robert Speicher
6dc252e406
Fix incorrect page_title, nav, and header_title usage in views
During https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/19766,
several usages of these helper methods were mistakenly changed to
instead assign to a (completely unused) local variable.

When `page_title` was misused, for example, this resulted in the page no
longer having a custom title set.
2018-08-31 18:28:54 -07:00
Tao Wang
dc157729b3
i18n: externalize strings from 'app/views/layouts'
Signed-off-by: Tao Wang <twang2218@gmail.com>
2018-07-23 16:33:37 +10:00
Douwe Maan
5d785457db Clean up overlap between dashboard and explore.
- Split up SnippetsController into separate dashboard and explore sections.
- Use consistent page titles, header titles and sidebars between dashboard and explore sections when signed in or not.
2015-09-08 14:49:20 +01:00
Dmitriy Zaporozhets
0145e8ea21
Set page title based on content in dashboard area
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-03 21:53:55 +02:00
Dmitriy Zaporozhets
f82c14259b Rebuild navigation for dashboard
* projects from explore page are available from dashboard
* use dashboard sidebar for both logged in and not users
* move explroe projects under projects tab
* move explore groups under groups tab
* move public snippets under snippets tab

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-20 11:59:21 +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
Douwe Maan
26ad250989 Add a page title to every page. 2015-04-30 19:12:15 +02:00
Dmitriy Zaporozhets
c41a5bf3cd
Restyle explore page to sidebar layout
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-04-22 17:28:44 +03:00
Dmitriy Zaporozhets
878e86bf64 Remove unnecessary theme_type from body class 2015-02-24 23:26:32 -08:00
Douwe Maan
34cc4c5982 Link head panel titles to relevant root page. 2015-02-13 14:31:51 +01:00
Drew Blessing
f06f69b9da Add theme type css class 2014-12-15 13:21:26 -06:00
Dmitriy Zaporozhets
974b5a7b2f
Most starred projects page for Explore area
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-25 22:05:23 +03:00
Dmitriy Zaporozhets
367445fdcd
Refactor explore area
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-23 12:03:49 +03:00
Renamed from app/views/layouts/public.html.haml (Browse further)