summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-08-19 03:43:33 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-08-19 03:43:33 +0000
commit782a5f121881addf54afe6064376ded72b5a84ed (patch)
treee69d1c71bdad6f69fec6083d3d4aee0bd877e0ab /app
parentfc6e7f12b70ee716eb762d112acd43467466b2ae (diff)
downloadredmine-782a5f121881addf54afe6064376ded72b5a84ed.tar.gz
redmine-782a5f121881addf54afe6064376ded72b5a84ed.zip
Add Issue Status to the tooltip. #6169
Contributed by Nick Peelman git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3952 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/issues_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 60798fedf..617822986 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -30,12 +30,14 @@ module IssuesHelper
end
def render_issue_tooltip(issue)
+ @cached_label_status ||= l(:field_status)
@cached_label_start_date ||= l(:field_start_date)
@cached_label_due_date ||= l(:field_due_date)
@cached_label_assigned_to ||= l(:field_assigned_to)
@cached_label_priority ||= l(:field_priority)
link_to_issue(issue) + "<br /><br />" +
+ "<strong>#{@cached_label_status}</strong>: #{issue.status.name}<br />" +
"<strong>#{@cached_label_start_date}</strong>: #{format_date(issue.start_date)}<br />" +
"<strong>#{@cached_label_due_date}</strong>: #{format_date(issue.due_date)}<br />" +
"<strong>#{@cached_label_assigned_to}</strong>: #{issue.assigned_to}<br />" +