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/dashboard/projects/starred.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/dashboard/projects/starred.html.haml')
-rw-r--r-- | app/views/dashboard/projects/starred.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/dashboard/projects/starred.html.haml b/app/views/dashboard/projects/starred.html.haml index 2fd7a1cf16c..339362701d4 100644 --- a/app/views/dashboard/projects/starred.html.haml +++ b/app/views/dashboard/projects/starred.html.haml @@ -1,9 +1,10 @@ - page_title "Starred Projects" -- header_title "Projects", (current_user ? root_path : explore_root_path) +- header_title "Projects", projects_path + = render 'dashboard/projects_head' - if @projects.any? - = render 'dashboard/projects' + = render 'projects' - else %h3 You don't have starred projects yet %p.slead Visit project page and press on star icon and it will appear on this page. |