summaryrefslogtreecommitdiff
path: root/app/views/explore/projects/_nav.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-03 20:13:26 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-03 20:13:26 +0100
commit73bd729ecca27a293c47101dd399e628e221ce2d (patch)
treebe4068dbdc2098a0ad638cf2588285ef25b48cba /app/views/explore/projects/_nav.html.haml
parentd506b3f958654534de93f443b9a81ba4434c0b71 (diff)
downloadgitlab-ce-73bd729ecca27a293c47101dd399e628e221ce2d.tar.gz
Add sort dropdown to dashboard projects pagedashboard-sort-dropdown
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/explore/projects/_nav.html.haml')
-rw-r--r--app/views/explore/projects/_nav.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/explore/projects/_nav.html.haml b/app/views/explore/projects/_nav.html.haml
new file mode 100644
index 00000000000..614b5431779
--- /dev/null
+++ b/app/views/explore/projects/_nav.html.haml
@@ -0,0 +1,10 @@
+%ul.nav-links
+ = nav_link(page: [trending_explore_projects_path, explore_root_path]) do
+ = link_to trending_explore_projects_path do
+ Trending
+ = nav_link(page: starred_explore_projects_path) do
+ = link_to starred_explore_projects_path do
+ Most stars
+ = nav_link(page: explore_projects_path) do
+ = link_to explore_projects_path do
+ All