summaryrefslogtreecommitdiff
path: root/app/views/layouts/project.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/project.html.haml')
-rw-r--r--app/views/layouts/project.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/project.html.haml b/app/views/layouts/project.html.haml
index 6407da10403..b06e75ef698 100644
--- a/app/views/layouts/project.html.haml
+++ b/app/views/layouts/project.html.haml
@@ -38,7 +38,7 @@
= link_to wall_project_path(@project), :class => current_page?(:controller => "projects", :action => "wall", :id => @project) ? "current" : nil do
Wall
- if @project.common_notes.count > 0
- %span{ :class => "number" }= @project.common_notes.count
+ %span{ :class => "number" }= @project.common_notes.today.count
= link_to project_snippets_path(@project), :class => (controller.controller_name == "snippets") ? "current" : nil do
Snippets
- if @project.snippets.count > 0