Project

General

Profile

Actions

Patch #6169

closed

Add issue status to issue tooltip...

Patch #6169: Add issue status to issue tooltip...

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:

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 />" +

Updated by Eric Davis over 16 years ago Actions #1

  • Category set to UI
  • Assignee set to Eric Davis
  • Target version set to 1.0.1

Updated by Eric Davis over 16 years ago Actions #2

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

Added in r3952. Thank you for the contribution.

Updated by Eric Davis over 16 years ago Actions #3

  • Status changed from Resolved to Closed

Merged to 1.0-stable for release in 1.0.1.

Actions

Also available in: PDF Atom