summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-08-01 08:10:37 +0000
committerGo MAEDA <maeda@farend.jp>2019-08-01 08:10:37 +0000
commit9f682a4c84338e83085b78dce348d38fc82f5b55 (patch)
treebc41555f918de07fc6bb345bebf47c8a26385ca4
parent62d536f657ff3be81f2373adb5e6700f648aa130 (diff)
downloadredmine-9f682a4c84338e83085b78dce348d38fc82f5b55.tar.gz
redmine-9f682a4c84338e83085b78dce348d38fc82f5b55.zip
Add closed_on to the tooltip if the issue is closed (#31697).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18337 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/helpers/issues_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index c6b8cb6dd..addd66dc9 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -62,7 +62,7 @@ module IssuesHelper
link_to_issue(issue) + "<br /><br />".html_safe +
"<strong>#{@cached_label_project}</strong>: #{link_to_project(issue.project)}<br />".html_safe +
- "<strong>#{@cached_label_status}</strong>: #{h(issue.status.name)}<br />".html_safe +
+ "<strong>#{@cached_label_status}</strong>: #{h(issue.status.name) + (" (#{format_date(issue.closed_on)})" if issue.closed?)}<br />".html_safe +
"<strong>#{@cached_label_start_date}</strong>: #{format_date(issue.start_date)}<br />".html_safe +
"<strong>#{@cached_label_due_date}</strong>: #{format_date(issue.due_date)}<br />".html_safe +
"<strong>#{@cached_label_assigned_to}</strong>: #{avatar(issue.assigned_to, :size => "13", :title => l(:field_assigned_to)) if issue.assigned_to} #{h(issue.assigned_to)}<br />".html_safe +