Modify

Opened 13 years ago

Closed 13 years ago

#8304 closed defect (fixed)

[Patch] Makes Ticket titels clickable, i.e. links to ticket

Reported by: Carsten Fechtmann Owned by: CuriousCurmudgeon
Priority: low Component: WhiteboardPlugin
Severity: trivial Keywords:
Cc: Trac Release: 0.11

Description

First of all thanks for this great plugin, just a very simple patch to make it a bit more user friendly (at least for me), i.e. allow users to just click on a ticket title to see what this ticket is about or start working on it right away.

Here is the "patch" - it's so simple it should work with either 0.11 or 0.12 (only tried it with 0.11 though...)

Index: whiteboard/templates/whiteboard.html
===================================================================
--- whiteboard/templates/whiteboard.html	(revision 9673)
+++ whiteboard/templates/whiteboard.html	(working copy)
@@ -26,7 +26,7 @@
                     <py:with vars="ticket_context = context('ticket', result.id)">
                       <py:if test="'TICKET_VIEW' in perm(ticket_context.resource)">
                         <li id="board_ticket_${result['id']}" class="board_ticket prio${result.priority_value}">
-                            <h3>#${result['id']}: ${result['summary']}</h3>
+                            <h3><a href="ticket/${result['id']}">#${result['id']}: ${result['summary']}</a></h3>
                             <dl>
                               <py:for each="idx, header in enumerate(headers)">
                                 <py:if test="header.name not in ('id', 'summary', groupname)">

I have also attached it as svn diff

Attachments (1)

make_ticket_title_clickable.diff (928 bytes) - added by Carsten Fechtmann 13 years ago.
Patch to make ticket titles clickable

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by Carsten Fechtmann

Patch to make ticket titles clickable

comment:1 Changed 13 years ago by CuriousCurmudgeon

(In [9687]) refs #8304

  • Applied patch from fecht. Thanks!

comment:2 Changed 13 years ago by CuriousCurmudgeon

Status: newassigned

comment:3 Changed 13 years ago by CuriousCurmudgeon

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain CuriousCurmudgeon.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.