Small fix in issue history display.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@695 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-09-02 12:20:05 +00:00
parent eb6ab2af50
commit 3ae8c53cba
1 changed files with 2 additions and 2 deletions

View File

@ -63,10 +63,10 @@ module IssuesHelper
value = content_tag("i", h(value)) if value value = content_tag("i", h(value)) if value
end end
if detail.value and !detail.value.to_s.empty? if !detail.value.blank?
case detail.property case detail.property
when 'attr', 'cf' when 'attr', 'cf'
if old_value if !detail.old_value.blank?
label + " " + l(:text_journal_changed, old_value, value) label + " " + l(:text_journal_changed, old_value, value)
else else
label + " " + l(:text_journal_set_to, value) label + " " + l(:text_journal_set_to, value)