diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-04-22 17:28:44 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-04-22 17:28:44 +0300 |
commit | c41a5bf3cda51cceb0c52fca44a100294fb75858 (patch) | |
tree | ad8bfa75dc8a08bd2ec4d65e606bc35860331015 /app/views/layouts/nav/_explore.html.haml | |
parent | 5647ce75b39f8660b16d3ef0ede5ba5804002005 (diff) | |
download | gitlab-ce-c41a5bf3cda51cceb0c52fca44a100294fb75858.tar.gz |
Restyle explore page to sidebar layout
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/layouts/nav/_explore.html.haml')
-rw-r--r-- | app/views/layouts/nav/_explore.html.haml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/layouts/nav/_explore.html.haml b/app/views/layouts/nav/_explore.html.haml new file mode 100644 index 00000000000..7ab370dbcd0 --- /dev/null +++ b/app/views/layouts/nav/_explore.html.haml @@ -0,0 +1,18 @@ +%ul.nav.nav-sidebar + = nav_link(path: 'projects#trending') do + = link_to explore_root_path do + %i.fa.fa-comments + %span Trending Projects + = nav_link(path: 'projects#starred') do + = link_to starred_explore_projects_path do + %i.fa.fa-star + %span Most Starred Projects + = nav_link(path: 'projects#index') do + = link_to explore_projects_path do + %i.fa.fa-bookmark + %span All Projects + = nav_link(controller: :groups) do + = link_to explore_groups_path do + %i.fa.fa-group + %span All Groups + |