Issue sidebar counter should show count of assigned to you
This commit is contained in:
parent
837685d56b
commit
017dfaee65
|
@ -33,8 +33,8 @@
|
||||||
%span{ :class => "number" }= @project.users_projects.count
|
%span{ :class => "number" }= @project.users_projects.count
|
||||||
= link_to project_issues_filter_path(@project), :class => (controller.controller_name == "issues") ? "current" : nil do
|
= link_to project_issues_filter_path(@project), :class => (controller.controller_name == "issues") ? "current" : nil do
|
||||||
Issues
|
Issues
|
||||||
- if @project.issues.opened.count > 0
|
- if @project.issues.assigned(current_user).count > 0
|
||||||
%span{ :class => "number" }= @project.issues.opened.count
|
%span{ :class => "number" }= @project.issues.assigned(current_user).count
|
||||||
= link_to wall_project_path(@project), :class => current_page?(:controller => "projects", :action => "wall", :id => @project) ? "current" : nil do
|
= link_to wall_project_path(@project), :class => current_page?(:controller => "projects", :action => "wall", :id => @project) ? "current" : nil do
|
||||||
Wall
|
Wall
|
||||||
- if @project.common_notes.today.count > 0
|
- if @project.common_notes.today.count > 0
|
||||||
|
|
Loading…
Reference in a new issue