diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-05-19 02:09:49 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-05-19 02:09:49 +0000 |
commit | b3a6555b3093d999a91ef919bc2e92ef5a3f9c92 (patch) | |
tree | 9502fa34fa62f0b68c93ba129cb950054642eabc /app/helpers/issues_helper.rb | |
parent | 1f9e1ca3181b77388e88456354c72b2d85c080a3 (diff) | |
download | redmine-b3a6555b3093d999a91ef919bc2e92ef5a3f9c92.tar.gz redmine-b3a6555b3093d999a91ef919bc2e92ef5a3f9c92.zip |
remove "del" tag from deleted issue relation (#1005)
It is confused with deleted issue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11886 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/issues_helper.rb')
-rw-r--r-- | app/helpers/issues_helper.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 04c40d98d..0f65bb42e 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -328,7 +328,9 @@ module IssuesHelper unless no_html label = content_tag('strong', label) old_value = content_tag("i", h(old_value)) if detail.old_value - old_value = content_tag("del", old_value) if detail.old_value and detail.value.blank? + if detail.old_value && detail.value.blank? && detail.property != 'relation' + old_value = content_tag("del", old_value) + end if detail.property == 'attachment' && !value.blank? && atta = Attachment.find_by_id(detail.prop_key) # Link to the attachment if it has not been removed value = link_to_attachment(atta, :download => true, :only_path => options[:only_path]) |