⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 confirm-delete.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
[%# 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 <wurblzap@gmail.com>  #%][%# 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'  }%]<table class="main">  <tr>    <th>Login name:</th>    <td>[% otheruser.login FILTER html %]</td>  </tr>  <tr>    <th>Real name:</th>    <td>[% otheruser.name FILTER html %]</td>  </tr>  <tr>    <th>Group set:</th>    <td>      [% IF otheruser.groups.size %]        <ul>          [% FOREACH group = otheruser.groups.keys %]            <li>[% group FILTER html %]</li>          [% END %]        </ul>      [% ELSE %]        None      [% END %]    </td>  </tr>  [% IF otheruser.product_responsibilities.size %]    <tr>      <th>Product responsibilities:</th>      <td>        <ul>          [% FOREACH component = otheruser.product_responsibilities %]            <li>              [% andstring = '' %]              [% FOREACH responsibility = ['default_assignee', 'default_qa_contact'] %]                [% IF component.${responsibility}.id == otheruser.id %]                  [% andstring %] [% responsibilityterms.$responsibility %]                  [% andstring = ' and ' %]                [% END %]              [% END %]              for              [% IF user.in_group("editcomponents", component.product_id) %]                <a href="editcomponents.cgi?action=edit&amp;product=                         [% component.product.name FILTER url_quote %]&amp;component=                         [% component.name FILTER url_quote %]">              [% END %]                [%+ component.product.name FILTER html %]:                [% component.name FILTER html %]              [% IF user.in_group("editcomponents", component.product_id) %]                </a>              [% END %]            </li>          [% END %]        </ul>      </td>    </tr>  [% END %]</table>[% IF otheruser.product_responsibilities.size %]  <p>    You can't delete this user at this time because    [%+ otheruser.login FILTER html %] has got responsibilities for at least    one product.  </p>  <p>    [% IF user.in_group("editcomponents", component.product_id) %]      Change this by clicking the product editing links above,    [% ELSE %]      For now, you can    [% END %][% ELSE %]  <h2>Confirmation</h2>  [% display_warning = 0 %]  [% IF reporter || bugs_activity || flags.setter || longdescs || profiles_activity %]    <div class="criticalmessages">      <p>The following deletions are <b>highly not recommended</b> and      will generate referential integrity inconsistencies!</p>      <ul>        [% IF reporter %]          <li>            [% otheruser.login FILTER html %]            <a href="buglist.cgi?emailreporter1=1&amp;emailtype1=exact&amp;email1=               [%- otheruser.login FILTER url_quote %]">has reported            [% IF reporter == 1 %]              one [% terms.bug %]            [% ELSE %]              [%+ reporter %] [%+ terms.bugs %]            [% END %]</a>.            If you delete the user account, the database records will be            inconsistent, resulting in            [% IF reporter == 1 %]              this [% terms.bug %]            [% ELSE %]              these [% terms.bugs %]            [% END %]            not appearing in [% terms.bug %] lists any more.          </li>        [% END %]        [% IF bugs_activity %]          <li>            [% otheruser.login FILTER html %] has made            [% IF bugs_activity == 1 %]              a change on [% terms.abug %]            [% ELSE %]              changes on [% terms.bugs %]            [% END %].            If you delete the user account, the [% terms.bugs %] activity table in            the database will be inconsistent, resulting in            [% IF bugs_activity == 1 %]              this change            [% ELSE %]              these changes            [% END %]            not showing up in [% terms.bug %] activity logs any more.          </li>        [% END %]        [% IF flags.setter %]          <li>            [% otheruser.login FILTER html %] has            <a href="buglist.cgi?field0-0-0=setters.login_name&amp;type0-0-0=equals&amp;value0-0-0=               [%- otheruser.login FILTER url_quote %]">set            or requested            [% IF flags.setter == 1 %]              a flag            [% ELSE %]              [%+ flags.setter %] flags            [% END %]</a>.            If you delete the user account, the flags table in the database            will be inconsistent, resulting in            [% IF flags.setter == 1 %]              this flag            [% ELSE %]              these flags            [% END %]            not displaying correctly any more.          </li>        [% END %]        [% IF longdescs %]          <li>            [% otheruser.login FILTER html %] has            <a href="buglist.cgi?emaillongdesc1=1&amp;emailtype1=exact&amp;email1=               [%- otheruser.login FILTER url_quote %]">commented            [% IF longdescs == 1 %]              once on [% terms.abug %]            [% ELSE %]              [%+ longdescs %] times on [% terms.bugs %]            [% END %]</a>.            If you delete the user account, the comments table in the database            will be inconsistent, resulting in            [% IF longdescs == 1 %]              this comment            [% ELSE %]              these comments            [% END %]            not being visible any more.          </li>        [% END %]        [% IF profiles_activity %]          <li>            [% otheruser.login FILTER html %] has made            [% IF bugs_activity == 1 %]              a change on a other user's profile            [% ELSE %]              changes on other users' profiles            [% END %].            If you delete the user account, the user profiles activity table in            the database will be inconsistent.          </li>        [% END %]      </ul>    </div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -