indicate when you're looking at a deleted rpm in the rpminfo page
This commit is contained in:
parent
7f11eb941e
commit
b37c216042
1 changed files with 10 additions and 4 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#import koji
|
||||
#from kojiweb import util
|
||||
#import time
|
||||
#import urllib
|
||||
|
|
@ -33,6 +34,14 @@
|
|||
<tr>
|
||||
<th>Arch</th><td>$rpm.arch</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Build Time</th><td>$time.strftime('%Y-%m-%d %H:%M:%S', $time.gmtime($rpm.buildtime)) GMT</td>
|
||||
</tr>
|
||||
#if $build and $build.state == $koji.BUILD_STATES.DELETED
|
||||
<tr>
|
||||
<th>State</th><td class="deleted">deleted</td>
|
||||
</tr>
|
||||
#end if
|
||||
#if $rpm.external_repo_id
|
||||
<tr>
|
||||
<th>External Repository</th><td>$rpm.external_repo_name</td>
|
||||
|
|
@ -44,9 +53,6 @@
|
|||
<tr>
|
||||
<th>Payload Hash</th><td>$rpm.payloadhash</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Build Time</th><td>$time.strftime('%Y-%m-%d %H:%M:%S', $time.gmtime($rpm.buildtime)) GMT</td>
|
||||
</tr>
|
||||
#if $builtInRoot
|
||||
<tr>
|
||||
<th>Buildroot</th><td><a href="buildrootinfo?buildrootID=$builtInRoot.id">$builtInRoot.tag_name-$builtInRoot.id-$builtInRoot.repo_id</a></td>
|
||||
|
|
@ -154,7 +160,7 @@
|
|||
#end for
|
||||
</table>
|
||||
#else
|
||||
No files
|
||||
No Files
|
||||
#end if
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue