2012-07-03 19:52:48 +02:00
|
|
|
%ul.main_menu
|
2012-08-11 00:07:50 +02:00
|
|
|
%li.home{class: tab_class(:root)}
|
|
|
|
= link_to "Home", root_path, title: "Home"
|
2012-07-03 19:52:48 +02:00
|
|
|
|
2012-08-11 00:07:50 +02:00
|
|
|
%li{class: tab_class(:dash_issues)}
|
2012-07-03 19:52:48 +02:00
|
|
|
= link_to dashboard_issues_path do
|
|
|
|
Issues
|
|
|
|
%span.count= current_user.assigned_issues.opened.count
|
|
|
|
|
2012-08-11 00:07:50 +02:00
|
|
|
%li{class: tab_class(:dash_mr)}
|
2012-07-03 19:52:48 +02:00
|
|
|
= link_to dashboard_merge_requests_path do
|
|
|
|
Merge Requests
|
|
|
|
%span.count= current_user.cared_merge_requests.count
|
|
|
|
|
2012-08-11 00:07:50 +02:00
|
|
|
%li{class: tab_class(:search)}
|
2012-07-03 19:52:48 +02:00
|
|
|
= link_to "Search", search_path
|
|
|
|
|
2012-08-11 00:07:50 +02:00
|
|
|
%li{class: tab_class(:help)}
|
2012-07-03 19:52:48 +02:00
|
|
|
= link_to "Help", help_path
|