Display "none" inside square brackets.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8644 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-01-14 09:55:49 +00:00
parent a6a627f445
commit 18ea835739
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ module TimelogHelper
def format_criteria_value(criteria_options, value) def format_criteria_value(criteria_options, value)
if value.blank? if value.blank?
l(:label_none) "[#{l(:label_none)}]"
elsif k = criteria_options[:klass] elsif k = criteria_options[:klass]
obj = k.find_by_id(value.to_i) obj = k.find_by_id(value.to_i)
if obj.is_a?(Issue) if obj.is_a?(Issue)