Modify ↓
Opened 15 years ago
Closed 15 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)
Change History (4)
Changed 15 years ago by
| Attachment: | make_ticket_title_clickable.diff added |
|---|
comment:2 Changed 15 years ago by
| Status: | new → assigned |
|---|
comment:3 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.



Patch to make ticket titles clickable