make table cells clickable with hyperlink callback

This commit is contained in:
Oliver Gorwits
2012-01-07 19:36:26 +00:00
parent 3aa0a56de5
commit e7860b2aea
3 changed files with 15 additions and 3 deletions

View File

@@ -11,10 +11,10 @@
<tr>
[% FOREACH col IN columns %]
[% SET val = row %]
[% FOREACH method IN col.key %]
[% FOREACH method IN col.key.split('\.') %]
[% SET val = val.$method %]
[% END %]
<td>[% val %]</td>
<td><a class="nd_linkcell" href="[% hyperlink(row) %]">[% val %]</a></td>
[% END %]
</tr>
[% END %]