summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-08 19:29:26 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-08 19:29:26 +0000
commitd427d8e5675ca21da25f8fefce6b8c2156f3b3d8 (patch)
treeb8b08aadfb6d3a042b9c14b1608837a568f02c4d /app
parente436285b6f4aba7fe02a9d61b61afa0dccf686d7 (diff)
downloadredmine-d427d8e5675ca21da25f8fefce6b8c2156f3b3d8.tar.gz
redmine-d427d8e5675ca21da25f8fefce6b8c2156f3b3d8.zip
Reverted r9368.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9370 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/issues_helper.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 0346fdbe3..a9cf065e9 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -245,12 +245,7 @@ module IssuesHelper
value ||= detail.value
old_value ||= detail.old_value
- if no_html
- if value.present?
- old_value = "\"#{old_value}\"" if old_value.present?
- value = "\"#{value}\""
- end
- else
+ unless no_html
label = content_tag('strong', label)
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.blank?