extras-buildsys/www job.psp,1.11,1.12
Daniel Williams (dcbw)
fedora-extras-commits at redhat.com
Thu Sep 1 18:28:34 UTC 2005
Author: dcbw
Update of /cvs/fedora/extras-buildsys/www
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21422/www
Modified Files:
job.psp
Log Message:
Fix target usage
Index: job.psp
===================================================================
RCS file: /cvs/fedora/extras-buildsys/www/job.psp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- job.psp 25 Aug 2005 18:15:14 -0000 1.11
+++ job.psp 1 Sep 2005 18:28:32 -0000 1.12
@@ -41,6 +41,11 @@
else:
title = job['package']
# endif
+
+ target_distro = job['target_distro']
+ target_target = job['target_target']
+ target_repo = job['target_repo']
+ target_str = "%s-%s-%s" % (target_distro, target_target, target_repo)
%>
<table class="jobdetail" cellspacing="0" cellpadding="0">
@@ -49,7 +54,7 @@
<td class="jobdetail-info" align="left">
<table cellspacing="0" cellpadding="0" width="100%">
<tr><td colspan="2" class="jobdetail-title"><font class="jobdetail-title"><%=str(job['uid'])%>: <%=title%> (<%=job['status']%>)</td></tr>
- <tr><td class="jobdetail-tag"><font class="jobdetail-tag">Target:</font></td><td class="jobdetail-text"><%=str(job['target'])%></td></tr>
+ <tr><td class="jobdetail-tag"><font class="jobdetail-tag">Target:</font></td><td class="jobdetail-text"><%=target_str%></td></tr>
<tr><td class="jobdetail-tag"><font class="jobdetail-tag">Submitter:</font></td><td class="jobdetail-text"><%=despam_user(job['username'])%></td></tr>
<tr><td class="jobdetail-tag"><font class="jobdetail-tag">Source:</font></td><td class="jobdetail-text"><%=str(job['source'])%></td></tr>
<tr><td class="jobdetail-tag"><font class="jobdetail-tag">Started:</font></td><td class="jobdetail-text"><%=str(time.ctime(job['starttime']))%></td></tr>
More information about the fedora-extras-commits
mailing list