2012-02-12 01:38:38 +01:00
|
|
|
%nav.main_menu
|
2012-02-20 07:39:03 +01:00
|
|
|
= render "layouts/const_menu_links"
|
2012-02-28 21:59:36 +01:00
|
|
|
= link_to "Projects", projects_path, :class => "#{"current" if current_page?(projects_path)}"
|
2012-03-16 00:31:46 +01:00
|
|
|
= link_to dashboard_issues_path, :class => "#{"current" if current_page?(dashboard_issues_path)}", :id => "issues_slide" do
|
|
|
|
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-03-19 21:52:16 +01:00
|
|
|
= link_to "Search", search_path, :class => "#{"current" if current_page?(search_path)}"
|
2012-02-12 12:15:41 +01:00
|
|
|
= link_to "Help", help_path, :class => "#{"current" if controller.controller_name == "help"}"
|