mirror of
https://github.com/redmine/redmine.git
synced 2026-03-12 07:30:51 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user