Commit 0ffed126 authored by Ariejan de Vroom's avatar Ariejan de Vroom

fixed tab highlighting for issues

parent e4b1f38c
...@@ -17,11 +17,11 @@ ...@@ -17,11 +17,11 @@
.project-sidebar .project-sidebar
.fixed .fixed
%aside %aside
= link_to issues_path, :class => current_page?(:controller => "user_issues", :action => "index") ? "current" : nil do = link_to issues_path, :class => current_page?(issues_path) ? "current" : nil do
Issues Issues
- unless current_user.assigned_issues.empty? - unless current_user.assigned_issues.empty?
%span{ :class => "number" }= current_user.assigned_issues.count %span{ :class => "number" }= current_user.assigned_issues.count
= link_to merge_requests_path, :class => current_page?(:controller => "user_merge_requests", :action => "index") ? "current" : nil do = link_to merge_requests_path, :class => current_page?(merge_requests_path) ? "current" : nil do
Merge Requests Merge Requests
- unless current_user.assigned_merge_requests.empty? - unless current_user.assigned_merge_requests.empty?
%span{ :class => "number" }= current_user.assigned_merge_requests.count %span{ :class => "number" }= current_user.assigned_merge_requests.count
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment