summaryrefslogtreecommitdiff
path: root/app/views/dashboard/_groups_head.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-08-20 11:59:14 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-08-20 11:59:21 +0200
commitf82c14259b81d692b7f922b40895b60b2b240361 (patch)
treed0ee9b1960b3e6a4da106cf663cefc710ec6978b /app/views/dashboard/_groups_head.html.haml
parentb1c1a3d3cc90de98f03482a4b41b39fe9a992cc6 (diff)
downloadgitlab-ce-f82c14259b81d692b7f922b40895b60b2b240361.tar.gz
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>
Diffstat (limited to 'app/views/dashboard/_groups_head.html.haml')
-rw-r--r--app/views/dashboard/_groups_head.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/dashboard/_groups_head.html.haml b/app/views/dashboard/_groups_head.html.haml
new file mode 100644
index 00000000000..8a397a84e0e
--- /dev/null
+++ b/app/views/dashboard/_groups_head.html.haml
@@ -0,0 +1,7 @@
+%ul.center-top-menu
+ = nav_link(page: [dashboard_groups_path]) do
+ = link_to dashboard_groups_path, title: 'Your groups', data: {placement: 'right'} do
+ Your Groups
+ = nav_link(page: [explore_groups_path]) do
+ = link_to explore_groups_path, title: 'Explore groups', data: {toggle: 'tooltip', placement: 'bottom'} do
+ Explore Groups