View Ticket
Not logged in
Ticket UUID: 04ba0f70b816cebec6bf5e7c8509aa0e205eeb83
Title: Turn the version field of tickets into links
Status: Open Type: Feature_Request
Severity: Minor Priority:
Subsystem: Resolution: Open
Last Modified: 2011-05-06 15:59:26
Version Found In:
Description & Comments:
It'd be handy if the string entered into the the version field of a ticked was looked up as an artifact in the repository and rendered as a link to the matching artifact(s), if any.

anonymous claiming to be RonW added on 2011-04-14 03:00:24 UTC:
Edit the View Ticket page and find:

<tr><td align="right">Version&nbsp;Found&nbsp;In:</td>
<td colspan="3" valign="top" bgcolor="#d0d0d0">
$<foundin>
</td></tr>

Then change it to:

<tr><td align="right">Version&nbsp;Found&nbsp;In:</td>
<td colspan="3" valign="top" bgcolor="#d0d0d0">
<th1>
wiki "[$foundin]"
</th1>
</td></tr>

This will use Fossil's builtin wiki rederer to create to the commit whose UUID is in the found-in field.


anonymous added on 2011-05-06 15:56:29 UTC:
The line should be

wiki "\[$foundin\]"
so that it doesn't get interpreted as a th1 command

anonymous added on 2011-05-06 15:58:13 UTC:
sorry,

wiki "\[$foundin\]"

anonymous added on 2011-05-06 15:58:55 UTC:

wiki "\\[$foundin\\]"

anonymous added on 2011-05-06 15:59:26 UTC:
Not sure how to make the ['s not get interpreted, but the brackets should be escaped