[PATCH 5/5] show tag options in web ui

Mike McLean mikem at redhat.com
Wed Jun 17 19:33:11 UTC 2015


---
 www/kojiweb/taginfo.chtml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/www/kojiweb/taginfo.chtml b/www/kojiweb/taginfo.chtml
index 8a0701d..1298996 100644
--- a/www/kojiweb/taginfo.chtml
+++ b/www/kojiweb/taginfo.chtml
@@ -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"
-- 
1.9.3



More information about the koji-devel mailing list