status-report-scripts pyGetReviewByFlags,1.15,1.16

Jason ティビツ (tibbs) fedora-extras-commits at redhat.com
Fri Aug 8 22:50:06 UTC 2008


Author: tibbs

Update of /cvs/fedora/status-report-scripts
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10216

Modified Files:
	pyGetReviewByFlags 
Log Message:
A few more cleanups; still looks bad but should at least be usable now.



Index: pyGetReviewByFlags
===================================================================
RCS file: /cvs/fedora/status-report-scripts/pyGetReviewByFlags,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- pyGetReviewByFlags	8 Aug 2008 20:08:56 -0000	1.15
+++ pyGetReviewByFlags	8 Aug 2008 22:50:05 -0000	1.16
@@ -71,13 +71,14 @@
       <!--
       @import url("https://bugzilla.redhat.com/bugzilla/skins/standard/global.css");
       -->
-      .UNASSIGNED {background-color: #99f};
+      .UNASSIGNED {background-color: #99f}
+      .bz_state_NEEDSPONSOR {background-color: #afa};
     </style>
 
     <link href="skins/standard/buglist.css" rel="stylesheet" type="text/css"/>
   </head>
   <body>
-    <div id="innerWrap">
+    <div class="bugzilla-redhat-com" id="innerWrap">
       <h1 style='background-color: #99f;'>This is a cached copy of
       the package review tickets.  (v1.2)<br/>
       It is updated every %s minutes</h1>
@@ -177,15 +178,14 @@
             e.assigned_to = "(Nobody)"
         cnt += 1
         if NEEDSPONSOR in bugdata[e.bug_id]['blockedby']:
-            trclass = 'bz_inprogress'
+            trclass = 'bz_state_NEEDSPONSOR'
         elif GUIDELINES in bugdata[e.bug_id]['blockedby']:
             trclass = 'bz_onhold'
         elif (cnt % 2) == 1:
-            trclass = 'bz_even'
+            trclass = 'bz_row_even'
         else:
-            trclass = 'bz_odd'
-        print >> f, '<tr class="', trclass, 'bz_'
-        print >> f, e.bug_status, ' onMouseOver="bug_over(this, 0);">', "\n"
+            trclass = 'bz_row_odd'
+        print >> f, '<tr class="' + trclass + '" bz_' + e.bug_status + '">'
         print >> f, """
 <td>
 <a href="show_bug.cgi?id=%s">%s</a>




More information about the fedora-extras-commits mailing list