summaryrefslogtreecommitdiffstats
path: root/template/en/default/account
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2002-09-23 02:14:48 +0200
committerbugreport%peshkin.net <>2002-09-23 02:14:48 +0200
commit65d3dc0ec33fd76229dc02536a74ccac5408876b (patch)
treebcacbb27e99c73f9548e92408fadb2e369f0543b /template/en/default/account
parentcf9b4ba2e757925eeb18bb63411ae30c8600c643 (diff)
downloadbugzilla-65d3dc0ec33fd76229dc02536a74ccac5408876b.tar.gz
bugzilla-65d3dc0ec33fd76229dc02536a74ccac5408876b.tar.xz
bug 157756 - Groups_20020716_Branch Tracking : > 55 groups now supported
r=bbaetz, gerv
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>