summaryrefslogtreecommitdiff
path: root/app/views/layouts/_project_menu.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/_project_menu.html.haml')
-rw-r--r--app/views/layouts/_project_menu.html.haml5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/layouts/_project_menu.html.haml b/app/views/layouts/_project_menu.html.haml
index c47a1863922..06b16fdcb9c 100644
--- a/app/views/layouts/_project_menu.html.haml
+++ b/app/views/layouts/_project_menu.html.haml
@@ -10,10 +10,13 @@
= link_to "Network", graph_project_path(@project), :class => current_page?(:controller => "projects", :action => "graph", :id => @project) ? "current" : nil
- if @project.issues_enabled
= link_to project_issues_filter_path(@project), :class => (controller.controller_name == "issues") ? "current" : nil do
- Issues
+ Issues
+ %span.count= @project.issues.opened.count
+
- if @project.merge_requests_enabled
= link_to project_merge_requests_path(@project), :class => (controller.controller_name == "merge_requests") ? "current" : nil do
Merge Requests
+ %span.count= @project.issues.opened.count
- if @project.wall_enabled
= link_to wall_project_path(@project), :class => current_page?(:controller => "projects", :action => "wall", :id => @project) ? "current" : nil do