#from kojiweb import util #include "includes/header.chtml" #def getID() #if $type == 'image' imageID=$image.id #slurp #else buildrootID=$buildroot.id #slurp #end if #end def #def getColspan() #if $type == 'component' colspan="3" #slurp #elif $type == 'image' colspan="2" #slurp #else #pass #end if #end def #if $type == 'component'

Component RPMs of buildroot $util.brLabel($buildroot)

#elif $type == 'image'

RPMs installed in $image.filename

#else

RPMs built in buildroot $util.brLabel($buildroot)

#end if #if $type in ['component', 'image'] #end if #if $type == 'component' #end if #if $len($rpms) > 0 #for $rpm in $rpms #set $epoch = ($rpm.epoch != None and $str($rpm.epoch) + ':' or '') #if $type in ['component', 'image'] #if $rpm.external_repo_id == 0 #else #end if #end if #if $type == 'component' #set $update = $rpm.is_update and 'yes' or 'no' #end if #end for #else #end if
#if $len($rpmPages) > 1
Page:
#end if #if $rpmStart > 0 <<< #end if #if $totalRpms != 0 RPMs #echo $rpmStart + 1 # through #echo $rpmStart + $rpmCount # of $totalRpms #end if #if $rpmStart + $rpmCount < $totalRpms >>> #end if
NVR $util.sortImage($self, 'nvr')Origin $util.sortImage($self, 'external_repo_name')Update? $util.sortImage($self, 'is_update')
$rpm.name-$epoch$rpm.version-$rpm.release.${rpm.arch}.rpminternal$rpm.external_repo_name$util.imageTag($update)
No RPMs
#if $len($rpmPages) > 1
Page:
#end if #if $rpmStart > 0 <<< #end if #if $totalRpms != 0 RPMs #echo $rpmStart + 1 # through #echo $rpmStart + $rpmCount # of $totalRpms #end if #if $rpmStart + $rpmCount < $totalRpms >>> #end if
#include "includes/footer.chtml"