show tag options in web ui

This commit is contained in:
Mike McLean 2015-06-17 12:18:12 -04:00
parent 0fb670598b
commit f426fdb05d

View file

@ -1,4 +1,5 @@
#from kojiweb import util
#import pprint
#include "includes/header.chtml"
@ -153,6 +154,17 @@
<td colspan="2"><a href="tagdelete?tagID=$tag.id$util.authToken($self)">Delete tag</a></td>
</tr>
#end if
#if $tag.get('extra')
<tr>
<th>Extra options:</th>
</tr>
#for $key in $tag['extra']
<tr>
<th>$key</th>
<td>$pprint.pformat($tag['extra'][$key])</td>
</tr>
#end for
#end if
</table>
#include "includes/footer.chtml"