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:
parent
a6a627f445
commit
18ea835739
|
@ -130,7 +130,7 @@ module TimelogHelper
|
|||
|
||||
def format_criteria_value(criteria_options, value)
|
||||
if value.blank?
|
||||
l(:label_none)
|
||||
"[#{l(:label_none)}]"
|
||||
elsif k = criteria_options[:klass]
|
||||
obj = k.find_by_id(value.to_i)
|
||||
if obj.is_a?(Issue)
|
||||
|
|
Loading…
Reference in New Issue