diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-06-06 16:22:18 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-06-06 16:22:18 +0000 |
commit | d90f46a5da07a4945751bd4b65d6754a8f475b91 (patch) | |
tree | 1c2aad49ac9fdafcb8cf487f2f055fac405b0ee7 /app | |
parent | 019f57e5c71e96b80b2fb1abc49c9fe4df50c705 (diff) | |
download | redmine-d90f46a5da07a4945751bd4b65d6754a8f475b91.tar.gz redmine-d90f46a5da07a4945751bd4b65d6754a8f475b91.zip |
Prepends issue numbers with a number sign (#1005).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11940 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/issues_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index d51c9cb65..05090c7b3 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -309,11 +309,11 @@ module IssuesHelper when 'relation' if detail.value && !detail.old_value rel_issue = Issue.visible.find_by_id(detail.value) - value = rel_issue.nil? ? "#{l(:label_issue)} #{detail.value}" : + value = rel_issue.nil? ? "#{l(:label_issue)} ##{detail.value}" : (no_html ? rel_issue : link_to_issue(rel_issue)) elsif detail.old_value && !detail.value rel_issue = Issue.visible.find_by_id(detail.old_value) - old_value = rel_issue.nil? ? "#{l(:label_issue)} #{detail.old_value}" : + old_value = rel_issue.nil? ? "#{l(:label_issue)} ##{detail.old_value}" : (no_html ? rel_issue : link_to_issue(rel_issue)) end label = l(detail.prop_key.to_sym) |