[Adium-commits] www/trac.adiumx.com 31:8183aa0266ff: Linkify reporter, owner, co...
adium-commits at adiumx.com
adium-commits at adiumx.com
Sun May 3 15:53:16 UTC 2009
details: http://hg.adiumx.com/www/trac.adiumx.com/rev/8183aa0266ff
revision: 31:8183aa0266ff
author: Zachary West <zacw at adiumx.com>
date: Sun May 03 11:53:12 2009 -0400
Linkify reporter, owner, component, version, and each keyword as a search for the keyword.
diffstat:
templates/site.html | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diffs (37 lines):
diff -r 67445104858f -r 8183aa0266ff templates/site.html
--- a/templates/site.html Sat May 02 00:57:38 2009 -0400
+++ b/templates/site.html Sun May 03 11:53:12 2009 -0400
@@ -58,6 +58,33 @@
</py:choose>
</p>
+<!--! Linkify reporters -->
+<td py:match="td[@headers='h_reporter']" py:attrs="select('@*')">
+ <a href="/query?reporter=$ticket.reporter">$ticket.reporter</a>
+</td>
+
+<!--! Linkify owners -->
+<td py:match="td[@headers='h_owner']" py:attrs="select('@*')">
+ <a href="/query?owner=$ticket.owner">$ticket.owner</a>
+</td>
+
+<!--! Linkify components -->
+<td py:match="td[@headers='h_component']" py:attrs="select('@*')">
+ <a href="/query?component=$ticket.component">$ticket.component</a>
+</td>
+
+<!--! Linkify version -->
+<td py:match="td[@headers='h_version']" py:attrs="select('@*')">
+ <a href="/query?version=$ticket.version">$ticket.version</a>
+</td>
+
+<!--! Linkify keywords -->
+<td py:match="td[@headers='h_keywords']" py:attrs="select('@*')">
+ <py:for each="keyword in ticket.keywords.split(' ')">
+ <a href="/search?ticket=on&q=$keyword">$keyword</a>
+ </py:for>
+</td>
+
<div id="searches">
<div class="centernav">
${navigation('metanav')}
More information about the commits
mailing list