fixed mr counter for main menu
This commit is contained in:
parent
635d3e09b7
commit
313d96e42b
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
- if @project.merge_requests_enabled
|
- if @project.merge_requests_enabled
|
||||||
= link_to project_merge_requests_path(@project), :class => (controller.controller_name == "merge_requests") ? "current" : nil do
|
= link_to project_merge_requests_path(@project), :class => (controller.controller_name == "merge_requests") ? "current" : nil do
|
||||||
Merge Requests
|
Merge Requests
|
||||||
%span.count= @project.issues.opened.count
|
%span.count= @project.merge_requests.opened.count
|
||||||
|
|
||||||
- if @project.wall_enabled
|
- if @project.wall_enabled
|
||||||
= 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
|
||||||
|
|
Loading…
Reference in a new issue