diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-13 10:36:18 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-13 10:36:18 +0000 |
commit | 51ea8b02954da4dca2a7c1f4cfb310e7b660a808 (patch) | |
tree | f29cf58b089494b0a6a395445b736c61a4b15da4 /app/helpers | |
parent | f35194e6046e1be5a81d5e26705c032e4d0a4406 (diff) | |
download | redmine-51ea8b02954da4dca2a7c1f4cfb310e7b660a808.tar.gz redmine-51ea8b02954da4dca2a7c1f4cfb310e7b660a808.zip |
tooltips added on calendar
git-svn-id: http://redmine.rubyforge.org/svn/trunk@161 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/issues_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index d73258939..cacc7f532 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -56,12 +56,12 @@ module IssuesHelper unless no_html
label = content_tag('strong', label)
- old_value = content_tag("i", h(old_value)) if old_value
- old_value = content_tag("strike", h(old_value)) if old_value and !value
+ old_value = content_tag("i", h(old_value)) if detail.old_value
+ old_value = content_tag("strike", old_value) if detail.old_value and (!detail.value or detail.value.empty?)
value = content_tag("i", h(value)) if value
end
- if value
+ if detail.value and !detail.value.empty?
if old_value
label + " " + l(:text_journal_changed, old_value, value)
else
|