summaryrefslogtreecommitdiffstats
path: root/template/en/default/account
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/account')
-rw-r--r--template/en/default/account/prefs/permissions.html.tmpl34
1 files changed, 23 insertions, 11 deletions
diff --git a/template/en/default/account/prefs/permissions.html.tmpl b/template/en/default/account/prefs/permissions.html.tmpl
index 15bca6deb..064220d6e 100644
--- a/template/en/default/account/prefs/permissions.html.tmpl
+++ b/template/en/default/account/prefs/permissions.html.tmpl
@@ -20,36 +20,48 @@
#%]
[%# INTERFACE:
- # has_bits: array of strings. May be empty.
- # Descriptions of the permission bits the user has.
- # set_bits: array of strings. May be empty.
- # Descriptions of the permission bits the user can set for
+ # has_bits: array of hashes. May be empty.
+ # name => Names of the permissions the user has.
+ # desc => Descriptions of the permissions the user has.
+ # set_bits: array of hashes. May be empty.
+ # name => Names of the permissions the user can set for
+ # other people.
+ # desc => Descriptions of the permissions the user can set for
# other people.
#%]
-<table>
+<table align="center">
<tr>
<td>
[% IF has_bits.size %]
You have the following permission bits set on your account:
- <ul>
+ <p>
+ <br>
+ <table align="center">
[% FOREACH bit_description = has_bits %]
- <li>[% bit_description %]</li>
+ <tr>
+ <td>[% bit_description.name %]</td>
+ <td>[% bit_description.desc %]</td>
+ </tr>
[% END %]
- </ul>
+ </table>
[% ELSE %]
There are no permission bits set on your account.
[% END %]
[% IF set_bits.size %]
+ <br>
And you can turn on or off the following bits for
<a href="editusers.cgi">other users</a>:
<p>
- <ul>
+ <table align="center">
[% FOREACH bit_description = set_bits %]
- <li>[% bit_description %]</li>
+ <tr>
+ <td>[% bit_description.name %]</td>
+ <td>[% bit_description.desc %]</td>
+ </tr>
[% END %]
- </ul>
+ </table>
</p>
[% END %]
</td>