summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorjake%bugzilla.org <>2005-04-12 07:52:50 +0200
committerjake%bugzilla.org <>2005-04-12 07:52:50 +0200
commit531a3a34b85bd3c6284733869046270cc2d5300e (patch)
treed6b9a4eea7824ce2d3438f18a0fcd1768bd88bb1 /template/en/default
parent9782d3fe78d30a89ff6439e0a311d88d5ed190c5 (diff)
downloadbugzilla-531a3a34b85bd3c6284733869046270cc2d5300e.tar.gz
bugzilla-531a3a34b85bd3c6284733869046270cc2d5300e.tar.xz
Bug 289594 - The table on the email settings page no longer is 100% wide. It also now supports even/odd row styling.
r=gerv, a=justdave
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/account/prefs/email.html.tmpl5
-rw-r--r--template/en/default/list/table.html.tmpl2
2 files changed, 4 insertions, 3 deletions
diff --git a/template/en/default/account/prefs/email.html.tmpl b/template/en/default/account/prefs/email.html.tmpl
index f712bd8fa..787cc8dfb 100644
--- a/template/en/default/account/prefs/email.html.tmpl
+++ b/template/en/default/account/prefs/email.html.tmpl
@@ -148,7 +148,7 @@ document.write('<input type="button" value="Disable All Mail" onclick="SetCheckb
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') %]"
@@ -171,7 +171,8 @@ document.write('<input type="button" value="Disable All Mail" onclick="SetCheckb
</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) %]
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index 1a95fecd3..9ba10b6ec 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -161,7 +161,7 @@
[%+ "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" -%]
">