On the issue report page, 0 issue counts are now displayed as dashes.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@629 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-08-13 17:00:59 +00:00
parent 29c623fa58
commit b3f3634df3
3 changed files with 11 additions and 7 deletions
+4
View File
@@ -29,4 +29,8 @@ module ReportsHelper
a
end
def aggregate_link(data, criteria, *args)
a = aggregate data, criteria
a > 0 ? link_to(a, *args) : '-'
end
end