summaryrefslogtreecommitdiffstats
path: root/template/en/default/account/prefs/permissions.html.tmpl
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-01-07 11:42:19 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-01-07 11:42:19 +0100
commit2b574f4d63e4ada0db82ca5a56773b3acf771d78 (patch)
treeb9523ffbccca38f11cf862fb2eb32d95737d9541 /template/en/default/account/prefs/permissions.html.tmpl
parentd4f65f36b7d31d50f39264882c5440b842429bba (diff)
downloadbugzilla-2b574f4d63e4ada0db82ca5a56773b3acf771d78.tar.gz
bugzilla-2b574f4d63e4ada0db82ca5a56773b3acf771d78.tar.xz
Bug 840407: Remove the "align" and "valign" attributes
r/a=justdave
Diffstat (limited to 'template/en/default/account/prefs/permissions.html.tmpl')
-rw-r--r--template/en/default/account/prefs/permissions.html.tmpl48
1 files changed, 24 insertions, 24 deletions
diff --git a/template/en/default/account/prefs/permissions.html.tmpl b/template/en/default/account/prefs/permissions.html.tmpl
index 450765afc..53583f35b 100644
--- a/template/en/default/account/prefs/permissions.html.tmpl
+++ b/template/en/default/account/prefs/permissions.html.tmpl
@@ -17,12 +17,11 @@
# other people.
#%]
-<table align="center">
- <tr>
- <td>
+ <div id="permissions">
[% IF has_bits.size %]
- You have the following permission bits set on your account:
- <table align="center">
+ <p>You have the following permission bits set on your account:</p>
+
+ <table>
[% FOREACH bit_description = has_bits %]
<tr>
<td>[% bit_description.name FILTER html %]</td>
@@ -34,46 +33,47 @@
[% FOREACH privs = ["editcomponents", "canconfirm", "editbugs"] %]
[% SET products = ${"local_$privs"} %]
[% IF products && products.size %]
- <br>
<p>
You also have local '[% privs FILTER html %]' privileges
for the following products:
</p>
- <p>
+ <ul>
[% FOREACH product = products %]
- [% product.name FILTER html %]<br>
+ <li>[% product.name FILTER html %]</li>
[% END %]
- </p>
+ </ul>
[% END %]
[% END %]
[% ELSE %]
- There are no permission bits set on your account.
+ <p>There are no permission bits set on your account.</p>
[% END %]
[% IF user.in_group('editusers') %]
- <br>
- You have editusers privileges. You can turn on and off
- all permissions for all users.
+ <p>
+ You have editusers privileges. You can turn on and off all
+ permissions for all users.
+ </p>
[% ELSIF set_bits.size %]
- <br>
- And you can turn on or off the following bits for
- <a href="editusers.cgi">other users</a>:
- <table align="center">
+ <p>
+ And you can turn on or off the following bits for
+ <a href="editusers.cgi">other users</a>:
+ </p>
+
+ <table>
[% FOREACH bit_description = set_bits %]
<tr>
<td>[% bit_description.name FILTER html %]</td>
<td>[% bit_description.desc FILTER html_light %]</td>
</tr>
[% END %]
- </table>
+ </table>
[% END %]
[% IF user.in_group('bz_sudoers') %]
- <br>
- You are a member of the <b>bz_sudoers</b> group, so you can
- <a href="relogin.cgi?action=prepare-sudo">impersonate someone else</a>.
+ <p>
+ You are a member of the <b>bz_sudoers</b> group, so you can
+ <a href="relogin.cgi?action=prepare-sudo">impersonate someone else</a>.
+ </p>
[% END %]
- </td>
- </tr>
-</table>
+ </div>