diff options
author | Dexter Morgan <dmorgan@mageia.org> | 2013-02-20 16:26:57 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2014-09-15 20:44:40 +0100 |
commit | 4302bafb0583830649ced57f931eddb7a2af4829 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /template/en/default/admin/users/list.html.tmpl | |
parent | ba702dcd7ac9b2e6c4d46ad21c7bfacfd6883189 (diff) | |
download | bugzilla-4302bafb0583830649ced57f931eddb7a2af4829.tar bugzilla-4302bafb0583830649ced57f931eddb7a2af4829.tar.gz bugzilla-4302bafb0583830649ced57f931eddb7a2af4829.tar.bz2 bugzilla-4302bafb0583830649ced57f931eddb7a2af4829.tar.xz bugzilla-4302bafb0583830649ced57f931eddb7a2af4829.zip |
Start from scratch
Diffstat (limited to 'template/en/default/admin/users/list.html.tmpl')
-rw-r--r-- | template/en/default/admin/users/list.html.tmpl | 115 |
1 files changed, 0 insertions, 115 deletions
diff --git a/template/en/default/admin/users/list.html.tmpl b/template/en/default/admin/users/list.html.tmpl deleted file mode 100644 index cb05e82..0000000 --- a/template/en/default/admin/users/list.html.tmpl +++ /dev/null @@ -1,115 +0,0 @@ -[%# The contents of this file are subject to the Mozilla Public - # License Version 1.1 (the "License"); you may not use this file - # except in compliance with the License. You may obtain a copy of - # the License at http://www.mozilla.org/MPL/ - # - # Software distributed under the License is distributed on an "AS - # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or - # implied. See the License for the specific language governing - # rights and limitations under the License. - # - # The Original Code is the Bugzilla Bug Tracking System. - # - # Contributor(s): Marc Schumann <wurblzap@gmail.com> - #%] - -[%# INTERFACE: - # - # listselectionvalues: selection values to recreate the current user list. - # editusers: is viewing user member of editusers? - # users: list of user information (id, login_name, realname, - # disabledtext). - #%] - -[% PROCESS global/header.html.tmpl - title = "Select user" - style_urls = ['skins/standard/editusers.css'] - doc_section = "useradmin.html" -%] - -[% PROCESS admin/users/listselectvars.html.tmpl - listselectionvalues = listselectionvalues -%] - -[% listselectionurlparams = INCLUDE listselectionurlparams %] - -[% columns = - [{name => 'login_name' - heading => 'Edit user...' - contentlink => 'editusers.cgi?action=edit&userid=%%userid%%' _ - listselectionurlparams - } - {name => 'realname' - heading => 'Real name' - } - {heading => 'Account History' - content => 'View' - contentlink => 'editusers.cgi?action=activity' _ - '&userid=%%userid%%' _ - listselectionurlparams - } - ] -%] - -[% IF Param('allowuserdeletion') && editusers %] - [% columns.push({heading => 'Action' - content => 'Delete' - contentlink => 'editusers.cgi?action=del' _ - '&userid=%%userid%%' _ - listselectionurlparams - } - ) - %] -[% END %] - -[%# Disabled users are crossed out. Missing realnames are noticed in red. %] -[% overrides.login_name = {} %] -[% overrides.realname = {} %] - -[% FOREACH thisuser = users %] - [% IF !thisuser.realname %] - [%# We cannot pass one class now and one class later. %] - [% SET classes = (thisuser.disabledtext ? "bz_inactive missing" : "missing") %] - [% overrides.realname.login_name.${thisuser.login_name} = { - content => "missing" - override_content => 1 - class => "$classes" - override_class => 1 - } - %] - [% ELSIF thisuser.disabledtext %] - [% overrides.realname.login_name.${thisuser.login_name} = { - class => "bz_inactive" - override_class => 1 - } - %] - [% END %] - - [% IF thisuser.disabledtext %] - [% overrides.login_name.login_name.${thisuser.login_name} = { - class => "bz_inactive" - override_class => 1 - } - %] - [% END %] -[% END %] - -<p>[% users.size %] user[% "s" UNLESS users.size == 1 %] found.</p> - -[% PROCESS admin/table.html.tmpl - columns = columns - data = users - overrides = overrides -%] - -<p> - If you do not wish to modify a user account at this time, you can - <a href="editusers.cgi">find other users</a> - [% IF editusers %] - or - <a href="editusers.cgi?action=add[% INCLUDE listselectionurlparams %]">add - a new user</a> - [% END %]. -</p> - -[% PROCESS global/footer.html.tmpl %] |