From 65d3dc0ec33fd76229dc02536a74ccac5408876b Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Mon, 23 Sep 2002 00:14:48 +0000 Subject: bug 157756 - Groups_20020716_Branch Tracking : > 55 groups now supported r=bbaetz, gerv --- .../en/default/account/prefs/permissions.html.tmpl | 34 +++++++++++++++------- 1 file changed, 23 insertions(+), 11 deletions(-) (limited to 'template/en/default/account') 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. #%] - +
-- cgit v1.2.3-24-g4f1b
[% IF has_bits.size %] You have the following permission bits set on your account: -
    +

    +
    + [% FOREACH bit_description = has_bits %] -
  • [% bit_description %]
  • + + + + [% END %] - +
    [% bit_description.name %][% bit_description.desc %]
    [% ELSE %] There are no permission bits set on your account. [% END %] [% IF set_bits.size %] +
    And you can turn on or off the following bits for other users:

    -

      + [% FOREACH bit_description = set_bits %] -
    • [% bit_description %]
    • + + + + [% END %] - +
      [% bit_description.name %][% bit_description.desc %]

      [% END %]