You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by rj...@apache.org on 2013/07/06 02:18:01 UTC
svn commit: r1500177 -
/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_grid.html
Author: rjollos
Date: Sat Jul 6 00:18:01 2013
New Revision: 1500177
URL: http://svn.apache.org/r1500177
Log:
Links in ticket id column of reports lacked an `href` attribute. Patch by Olemis. Fixes #576.
Modified:
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_grid.html
Modified: bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_grid.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_grid.html?rev=1500177&r1=1500176&r2=1500177&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_grid.html (original)
+++ bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_grid.html Sat Jul 6 00:18:01 2013
@@ -92,7 +92,7 @@
<!--! for the ticket listing -->
<py:when test="col in ('ticket', 'id')">
<td class="ticket" py:attrs="td_attrs">
- <a title="View ${row.resource.realm}" href="$row.href">#$cell.value</a>
+ <a title="View ${row.resource.realm}" href="${row.href if row.href else url_of(row.resource)}">${shortname_of(row.resource)}</a>
</td>
</py:when>