[%# 1.0@bugzilla.org %] [%# 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 #%] [%# INTERFACE: # # listselectionvalues: selection values to recreate the current user # list. # editusers: is viewing user member of editusers? # otheruser: Bugzilla::User object of the viewed user. # reporter: number of bugs reported by the user # assignee_or_qa: number of bugs the user is either the assignee # or the QA contact # bugs_activity: number of bugs the viewed user has activity # entries on # cc number of bugs the viewed user is cc list member # of # flags.requestee: number of flags the viewed user is being asked for # flags.setter: number of flags the viewed user has set # longdescs: number of bug comments the viewed user has written # namedqueries: number of named queries the user has created # namedquery_group_map: number of named queries the user has shared # profiles_activity: number of changes made to other users' profiles # series: number of series the viewed user has created # votes: number of bugs the viewed user has voted on # watch.watched: number of users the viewed user is being watched # by # watch.watcher: number of users the viewed user is watching # whine_events: number of whine events the viewed user has created # whine_schedules: number of whine schedules the viewed user has # created #%] [% title = BLOCK %]Confirm deletion of user [% otheruser.login FILTER html %][% END %] [% PROCESS global/header.html.tmpl title = title style_urls = ['skins/standard/admin.css', 'skins/standard/editusers.css'] %] [% PROCESS admin/users/listselectvars.html.tmpl listselectionvalues = listselectionvalues %] [% responsibilityterms = { 'default_assignee' => 'Default Assignee', 'default_qa_contact' => 'Default QA Contact' } %] [% IF otheruser.product_responsibilities.size %] [% END %]
Login name: [% otheruser.login FILTER html %]
Real name: [% otheruser.name FILTER html %]
Group set: [% IF groups.size %]
    [% FOREACH group = otheruser.groups.keys %]
  • [% group FILTER html %]
  • [% END %]
[% ELSE %] None [% END %]
Product responsibilities:
[% IF otheruser.product_responsibilities.size %]

You can't delete this user at this time because [%+ otheruser.login FILTER html %] has got responsibilities for at least one product.

[% IF user.in_group("editcomponents", component.product_id) %] Change this by clicking the product editing links above, [% ELSE %] For now, you can [% END %] [% ELSE %]

Confirmation

[% display_warning = 0 %] [% IF reporter || bugs_activity || flags.setter || longdescs || profiles_activity %]

The following deletions are highly not recommended and will generate referential integrity inconsistencies!

[% display_warning = 1 %] [% END %] [% IF assignee_or_qa || cc || email_setting || flags.requestee || namedqueries || profile_setting || series || votes || watch.watched || watch.watcher || whine_events || whine_schedules %]

The following deletions are safe and will not generate referential integrity inconsistencies.

[% display_warning = 1 %] [% END %] [% IF display_warning %]

Please be aware of the consequences of this before continuing.

[% END %]

Do you really want to delete this user account?

[% INCLUDE listselectionhiddenfields %]

If you do not want to delete the user account at this time, [% END %] edit the user, go back to the user list, [% IF editusers %] add a new user, [% END %] or find other users.

[% PROCESS global/footer.html.tmpl %]