diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-09-08 14:49:20 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-09-08 14:49:20 +0100 |
commit | 5d785457db3017a17722314a52433543dd925164 (patch) | |
tree | a030699b752fcd1f161118be70a9df0f625fa0ef /app/views/layouts/explore.html.haml | |
parent | 260fcd45209b59ace6b3fd6dcca6c32c2c75a8f1 (diff) | |
download | gitlab-ce-5d785457db3017a17722314a52433543dd925164.tar.gz |
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.
Diffstat (limited to 'app/views/layouts/explore.html.haml')
-rw-r--r-- | app/views/layouts/explore.html.haml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/layouts/explore.html.haml b/app/views/layouts/explore.html.haml index 9098554e6f0..df65792be73 100644 --- a/app/views/layouts/explore.html.haml +++ b/app/views/layouts/explore.html.haml @@ -1,9 +1,5 @@ - page_title "Explore" -- if current_user - - unless @header_title - - header_title "Projects", (current_user ? root_path : explore_root_path) -- else +- unless current_user - header_title "Explore GitLab", explore_root_path -- sidebar "dashboard" = render template: "layouts/application" |