From ba72ec962110807f22836300e262517d27a96e21 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 8 Jan 2014 17:08:44 +0100 Subject: Bug 840407 (part 2): Remove the "align" and "valign" attributes from extensions r/a=justdave --- .../template/en/default/hook/global/footer-end.html.tmpl | 2 +- .../default/hook/admin/products/edit-common-rows.html.tmpl | 8 ++++---- .../Voting/template/en/default/pages/voting/bug.html.tmpl | 5 +++-- .../Voting/template/en/default/pages/voting/user.html.tmpl | 14 ++++++++------ extensions/Voting/web/style.css | 9 +++++++++ 5 files changed, 25 insertions(+), 13 deletions(-) (limited to 'extensions') diff --git a/extensions/Example/template/en/default/hook/global/footer-end.html.tmpl b/extensions/Example/template/en/default/hook/global/footer-end.html.tmpl index f4cb1e006..fd4ec8639 100644 --- a/extensions/Example/template/en/default/hook/global/footer-end.html.tmpl +++ b/extensions/Example/template/en/default/hook/global/footer-end.html.tmpl @@ -8,7 +8,7 @@ [% USE date %] -

+

[% component.callers.first FILTER html %] processed on [% date.format(date.now, '%b %d, %Y at %H:%M:%S') FILTER html %].
diff --git a/extensions/Voting/template/en/default/hook/admin/products/edit-common-rows.html.tmpl b/extensions/Voting/template/en/default/hook/admin/products/edit-common-rows.html.tmpl index 9a8373bac..c46da75ae 100644 --- a/extensions/Voting/template/en/default/hook/admin/products/edit-common-rows.html.tmpl +++ b/extensions/Voting/template/en/default/hook/admin/products/edit-common-rows.html.tmpl @@ -11,16 +11,16 @@ product.votesperuser = 0 product.votestoconfirm = 0 %] - + - Maximum votes per person: + Maximum votes per person: - + Maximum votes a person can put on a single [% terms.bug %]: - + Confirm [% terms.abug %] if it gets this many votes: diff --git a/extensions/Voting/template/en/default/pages/voting/bug.html.tmpl b/extensions/Voting/template/en/default/pages/voting/bug.html.tmpl index 2ba784f77..cb1d2380e 100644 --- a/extensions/Voting/template/en/default/pages/voting/bug.html.tmpl +++ b/extensions/Voting/template/en/default/pages/voting/bug.html.tmpl @@ -20,10 +20,11 @@ [% PROCESS global/header.html.tmpl title = "Show Votes" subheader = subheader + style_urls = [ "extensions/Voting/web/style.css" ] %] [% total = 0 %] - +
@@ -38,7 +39,7 @@ [% voter.login_name FILTER email FILTER html %] - diff --git a/extensions/Voting/template/en/default/pages/voting/user.html.tmpl b/extensions/Voting/template/en/default/pages/voting/user.html.tmpl index b08b4c878..b5e8fc9bc 100644 --- a/extensions/Voting/template/en/default/pages/voting/user.html.tmpl +++ b/extensions/Voting/template/en/default/pages/voting/user.html.tmpl @@ -51,11 +51,11 @@ -
Who Number of votes + [% voter.vote_count FILTER html %]
+
- + - + @@ -95,7 +95,8 @@ [% END %] [%- END %] - - +
Votes[% terms.Bug %] #[% terms.Bug %] # Summary
+ + [% IF canedit %] [% IF product.onevoteonly %] + + [% PROCESS bug/link.html.tmpl bug = bug, link_text = bug.id %] diff --git a/extensions/Voting/web/style.css b/extensions/Voting/web/style.css index 3f06200ca..22458fd90 100644 --- a/extensions/Voting/web/style.css +++ b/extensions/Voting/web/style.css @@ -19,3 +19,12 @@ tr.bz_bug_being_voted_on td { #votes_container { white-space: nowrap; } + +#user_votes th { + text-align: center; +} + +#user_votes th, #user_votes td, +#bug_votes th, #bug_votes td { + padding: 0.2em; +} -- cgit v1.2.3-24-g4f1b