summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake%bugzilla.org <>2005-04-13 05:43:32 +0200
committerjake%bugzilla.org <>2005-04-13 05:43:32 +0200
commit82a81cbeeb591b9fdd6a67c46791052dc039b5d3 (patch)
treef5d9a9e98f9884fee7bce35f6d7b48fa99a057b0
parentadd70bda3bba58c8e39711215e9d6f31b42bf598 (diff)
downloadbugzilla-82a81cbeeb591b9fdd6a67c46791052dc039b5d3.tar.gz
bugzilla-82a81cbeeb591b9fdd6a67c46791052dc039b5d3.tar.xz
Bug 289594 - Part 2 - The "exclude" table also needs alternating colors. Also changing the default color back to F7F7F7.
r=mkanat
-rw-r--r--skins/standard/global.css2
-rw-r--r--template/en/default/account/prefs/email.html.tmpl3
2 files changed, 3 insertions, 2 deletions
diff --git a/skins/standard/global.css b/skins/standard/global.css
index 0f274ea56..f9ac7c96d 100644
--- a/skins/standard/global.css
+++ b/skins/standard/global.css
@@ -295,7 +295,7 @@ body
.bz_row_odd
{
- background-color: #CCCCCC;
+ background-color: #F7F7F7;
color: #000000;
}
diff --git a/template/en/default/account/prefs/email.html.tmpl b/template/en/default/account/prefs/email.html.tmpl
index 787cc8dfb..bd265ca9f 100644
--- a/template/en/default/account/prefs/email.html.tmpl
+++ b/template/en/default/account/prefs/email.html.tmpl
@@ -208,7 +208,8 @@ document.write('<input type="button" value="Disable All Mail" onclick="SetCheckb
</tr>
[% FOREACH event = neg_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) %]