2012-02-12 02:38:38 +02:00
|
|
|
%nav.main_menu
|
2012-06-12 23:13:42 +03:00
|
|
|
= link_to "Home", root_path, :class => "home #{"current" if current_page?(dashboard_path) || current_page?(root_path)}", :title => "Home"
|
2012-06-04 01:37:27 +03:00
|
|
|
= link_to dashboard_issues_path, :class => "#{"current" if current_page?(dashboard_issues_path)}", :id => "issues_slide" do
|
2012-03-16 01:31:46 +02:00
|
|
|
Issues
|
|
|
|
%span.count= current_user.assigned_issues.opened.count
|
|
|
|
= link_to dashboard_merge_requests_path, :class => "#{"current" if current_page?(dashboard_merge_requests_path)}", :id => "merge_requests_slide" do
|
|
|
|
Requests
|
|
|
|
%span.count= current_user.cared_merge_requests.count
|
2012-06-04 01:37:27 +03:00
|
|
|
= link_to search_path, :class => "#{"current" if current_page?(search_path)}" do
|
2012-05-15 19:35:18 +03:00
|
|
|
Search
|
2012-02-12 13:15:41 +02:00
|
|
|
= link_to "Help", help_path, :class => "#{"current" if controller.controller_name == "help"}"
|