summaryrefslogtreecommitdiff
path: root/app/views/dashboard/projects/_nav.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/dashboard/projects/_nav.html.haml')
-rw-r--r--app/views/dashboard/projects/_nav.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/dashboard/projects/_nav.html.haml b/app/views/dashboard/projects/_nav.html.haml
new file mode 100644
index 00000000000..697211d7ce8
--- /dev/null
+++ b/app/views/dashboard/projects/_nav.html.haml
@@ -0,0 +1,8 @@
+.top-area
+ %ul.nav-links
+ = nav_link(html_options: { class: ("active" unless params[:personal].present?) }) do
+ = link_to dashboard_projects_path do
+ #{ s_('DashboardProjects|All') }
+ = nav_link(html_options: { class: ("active" if params[:personal].present?) }) do
+ = link_to filter_projects_path(personal: true) do
+ #{ s_('DashboardProjects|Personal') }