table.bz_buglist td, table.bz_buglist th {
}
-/* For styling rows; by default striped white and gray */
-tr.bz_odd {
- background-color: #F7F7F7;
-}
-
-tr.bz_even {
-}
-
/* we use a first-child class and not the pseudo-class because IE
* doesn't support it :-( */
tr.bz_secure td.first-child {
.bz_private { color: darkred ; background : #f3eeee ; }
.bz_disabled { color: #a0a0a0 ; }
+.bz_row_odd
+{
+ background-color: #CCCCCC;
+ color: #000000;
+}
+
+.bz_row_even
+{
+ background-color: #FFFFFF;
+ color: #000000;
+}
+
.bz_comment { background-color: #e0e0e0; }
.bz_comment_hilite pre
{
description = "Voter" },
] %]
-<table width="100%" border="1">
+<table class="bz_emailprefs" border="1">
<tr>
<td colspan="[% (useqacontact AND usevotes) ? '5' :
((useqacontact OR usevotes) ? '4' : '3') %]"
</tr>
[% FOREACH event = events %]
- <tr>
+ [% count = loop.count() %]
+ <tr class="bz_row_[% count % 2 == 1 ? "odd" : "even" %]">
[% FOREACH relationship = relationships %]
[% NEXT IF (relationship.id == constants.REL_QA AND NOT useqacontact) OR
(relationship.id == constants.REL_VOTER AND NOT usevotes) %]
[%+ "bz_$bug.resolution" FILTER css_class_quote IF bug.resolution -%]
[%+ "bz_secure" IF bug.secure_mode -%]
[%+ "bz_secure_mode_$bug.secure_mode" FILTER css_class_quote IF bug.secure_mode -%]
- [%+ count % 2 == 1 ? "bz_odd" : "bz_even" -%]
+ [%+ count % 2 == 1 ? "bz_row_odd" : "bz_row_even" -%]
">