summaryrefslogtreecommitdiff
path: root/app/views/dashboard/_activity_head.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/dashboard/_activity_head.html.haml')
-rw-r--r--app/views/dashboard/_activity_head.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/dashboard/_activity_head.html.haml b/app/views/dashboard/_activity_head.html.haml
new file mode 100644
index 00000000000..9f4be025bf2
--- /dev/null
+++ b/app/views/dashboard/_activity_head.html.haml
@@ -0,0 +1,7 @@
+%ul.center-top-menu
+ %li{ class: ("active" unless params[:filter]) }
+ = link_to activity_dashboard_path, class: 'shortcuts-activity', data: {placement: 'right'} do
+ Your Projects
+ %li{ class: ("active" if params[:filter] == 'starred') }
+ = link_to activity_dashboard_path(filter: 'starred'), data: {placement: 'right'} do
+ Starred Projects