diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-11-28 23:29:46 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-11-28 23:29:46 +0200 |
commit | 017dfaee6500b10e30e46db0040672f792f360c5 (patch) | |
tree | e3e9802189076101c9fc2aafd1d8c5d89ff3744a /app | |
parent | 837685d56b4b94df7b2157f4cef8701d3de1059d (diff) | |
download | gitlab-ce-017dfaee6500b10e30e46db0040672f792f360c5.tar.gz |
Issue sidebar counter should show count of assigned to you
Diffstat (limited to 'app')
-rw-r--r-- | app/views/layouts/project.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/project.html.haml b/app/views/layouts/project.html.haml index 20553c94b51..24a72a45ac0 100644 --- a/app/views/layouts/project.html.haml +++ b/app/views/layouts/project.html.haml @@ -33,8 +33,8 @@ %span{ :class => "number" }= @project.users_projects.count = link_to project_issues_filter_path(@project), :class => (controller.controller_name == "issues") ? "current" : nil do Issues - - if @project.issues.opened.count > 0 - %span{ :class => "number" }= @project.issues.opened.count + - if @project.issues.assigned(current_user).count > 0 + %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 Wall - if @project.common_notes.today.count > 0 |