summaryrefslogtreecommitdiffstats
path: root/extensions/Voting/template/en/default/pages/voting
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-01-08 17:08:44 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-01-08 17:08:44 +0100
commitba72ec962110807f22836300e262517d27a96e21 (patch)
tree595bb14c6b9d1151bdbcb0c155ecd40a9783eaa1 /extensions/Voting/template/en/default/pages/voting
parent192b02906b89fb61efdf60ef553d717a5d3e037f (diff)
downloadbugzilla-ba72ec962110807f22836300e262517d27a96e21.tar.gz
bugzilla-ba72ec962110807f22836300e262517d27a96e21.tar.xz
Bug 840407 (part 2): Remove the "align" and "valign" attributes from extensions
r/a=justdave
Diffstat (limited to 'extensions/Voting/template/en/default/pages/voting')
-rw-r--r--extensions/Voting/template/en/default/pages/voting/bug.html.tmpl5
-rw-r--r--extensions/Voting/template/en/default/pages/voting/user.html.tmpl14
2 files changed, 11 insertions, 8 deletions
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 %]
-<table cellspacing="4">
+<table id="bug_votes">
<tr>
<th>Who</th>
<th>Number of votes</th>
@@ -38,7 +39,7 @@
[% voter.login_name FILTER email FILTER html %]
</a>
</td>
- <td align="right">
+ <td class="right">
[% voter.vote_count FILTER html %]
</td>
</tr>
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 @@
<form name="voting_form" method="post" action="page.cgi?id=voting/user.html">
<input type="hidden" name="action" value="vote">
<input type="hidden" name="token" value="[% issue_hash_token(['vote']) FILTER html %]">
- <table cellspacing="4">
+ <table id="user_votes">
<tr>
- <td></td>
+ <th></th>
<th>Votes</th>
- <th>[% terms.Bug %] #</th>
+ <th>[% terms.Bug %]&nbsp;#</th>
<th>Summary</th>
</tr>
@@ -95,7 +95,8 @@
[% END %]
[%- END %]
</td>
- <td align="right"><a name="vote_[% bug.id FILTER none %]">
+ <td>
+ <a name="vote_[% bug.id FILTER none %]">
[% IF canedit %]
[% IF product.onevoteonly %]
<input type="checkbox" name="[% bug.id FILTER none %]" value="1"
@@ -107,8 +108,9 @@
[% ELSE %]
[% bug.count FILTER html %]
[% END %]
- </a></td>
- <td align="center">
+ </a>
+ </td>
+ <td class="right">
[% PROCESS bug/link.html.tmpl bug = bug, link_text = bug.id %]
</td>
<td>