Project

General

Profile

Actions

Patch #6169

closed

Add issue status to issue tooltip...

Added by Nick Peelman over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Start date:
2010-08-18
Due date:
% Done:

100%

Estimated time:

Description

Would be incredibly nice...


--- issues_helper.rb
+++ (clipboard)
@@ -30,14 +30,12 @@
   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 />" +

Actions #1

Updated by Eric Davis over 13 years ago

  • Category set to UI
  • Assignee set to Eric Davis
  • Target version set to 1.0.1
Actions #2

Updated by Eric Davis over 13 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Added in r3952. Thank you for the contribution.

Actions #3

Updated by Eric Davis over 13 years ago

  • Status changed from Resolved to Closed

Merged to 1.0-stable for release in 1.0.1.

Actions

Also available in: Atom PDF