/usr/share/koji-web/scripts/channelinfo.chtml is in koji-servers 1.10.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #from kojiweb import util
#include "includes/header.chtml"
<h4>Information for channel <a href="channelinfo?channelID=$channel.id">$channel.name</a></h4>
<table>
<tr>
<th>Name</th><td>$channel.name</td>
</tr>
<tr>
<th>ID</th><td>$channel.id</td>
</tr>
<tr>
<th>Active Tasks</th><td><a href="tasks?view=flat&channelID=$channel.id">$taskCount</a></td>
</tr>
<tr>
<th>Hosts</th>
<td>
#if $len($hosts) > 0
#for $host in $hosts
<a href="hostinfo?hostID=$host.id">$host.name</a><br/>
#end for
#else
No hosts
#end if
</td>
</tr>
</table>
#include "includes/footer.chtml"
|