Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mullvad Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Mullvad Browser
Commits
69c9771d
Commit
69c9771d
authored
22 years ago
by
bugreport%peshkin.net
Browse files
Options
Downloads
Patches
Plain Diff
Bug 162990
Adding missing new file
parent
3f852781
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
webtools/bugzilla/template/en/default/global/confirm-user-match.html.tmpl
+180
-0
180 additions, 0 deletions
...a/template/en/default/global/confirm-user-match.html.tmpl
with
180 additions
and
0 deletions
webtools/bugzilla/template/en/default/global/confirm-user-match.html.tmpl
0 → 100644
+
180
−
0
View file @
69c9771d
<!-- 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.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Myk Melez <myk@mozilla.org>
# Erik Stambaugh <not_erik@dasbistro.com>
#%]
[%# INTERFACE:
# form: hash; the form values submitted to the script
# mform: hash; the form multi-values submitted to the script
# matches: hash; Hierarchical. The levels go like this:
# field_name {
# pattern_text {
# 'users' = @user_list (user objects)
# 'selecttype' = single|multi (selectbox type)
# 'status' = success|fail|trunc (result of search.
# 'trunc' (truncated) means max was reached)
# }
# }
# script: string; The name of the calling script, used to create a
# self-referential URL
#%]
[% # use the global field descs %]
[% PROCESS "global/field-descs.html.tmpl" %]
[% IF matchsuccess == 1 %]
[% PROCESS global/header.html.tmpl title="Confirm Match" %]
<form method="post"
[% IF script -%]
action="[% script %]"
[%- END -%]
>
<p>
One or more of the names/email addresses you entered into fields on the
previous page produced results which require confirmation. Please
carefully examine the matches below, selecting users from the lists if
necessary, or go back to the previous page to revise the names you
entered.
</p>
[% ELSE %]
[% PROCESS global/header.html.tmpl title="Match Failed" %]
<p>
One or more of the names/email addresses you entered into fields on the
previous page were unable to make a valid match. Go back to the previous
page and try other names/email addresses.
</p>
[% END %]
<p>
<table border=0>
<tr>
<td colspan=2>
<hr width=100% size=1>
</td>
</tr>
[% # this is messy to allow later expansion %]
[% FOREACH field = matches %]
<tr>
<td align=left valign=top>
[% PROCESS field_names field_name=field.key %]:
</td>
<td align=left valign=top>
[% FOREACH query = field.value %]
<b>[% query.key FILTER html %]</b>
[% IF query.value.users.size %]
[% IF query.value.users.size > 1 %]
[% IF query.value.status == 'fail' %]
<font color="#FF0000">
matches multiple users.
</font>
Please go back and try again with a more specific
name/address.
[% ELSIF query.value.selecttype == 'single' %]
matched:<br>
<select name="[% field.key FILTER html %]"
id="[% field.key FILTER html %]">
[% FOREACH match = query.value.users %]
<option value="[% match.email FILTER html %]">
[%- match.identity FILTER html -%]
</option>
[% END %]
</select>
[% ELSE %]
[% IF query.value.status == 'trunc' %]
matched
more than the maximum
of [% query.value.users.size %] users:<br>
[% ELSE %]
matched:<br>
[% END %]
<select name="[% field.key FILTER html %]"
id="[% field.key FILTER html %]"
[% IF query.value.users.size > 5 %]
multiple="multiple" size="5">
[% ELSE %]
multiple="multiple" size="[% query.value.users.size %]">
[% END %]
[% FOREACH match = query.value.users %]
<option value="[% match.email FILTER html %]">
[%- match.identity FILTER html -%]
</option>
[% END %]
</select>
[% END %]
[% ELSE %]
matched
<b>[% query.value.users.0.identity FILTER html %]</b>
<br>
[% END %]
[% ELSE %]
[% IF (query.key.length < 3) && !(Param('emailsuffix'))
&& (Param('usermatchmode') == 'search') %]
<font color="#FF0000">was too short for substring match
(minimum 3 characters)</font>
[% ELSE %]
<font color="#FF0000">did not match anything</font>
[% END %]
[% END %]
<p>
[% END %]
</td>
</tr>
<tr>
<td colspan=2>
<hr width=100% size=1>
</td>
</tr>
[% END %]
</table>
</p>
[% IF matchsuccess == 1 %]
[% PROCESS "global/hidden-fields.html.tmpl" exclude="^(Bugzilla|LDAP)_(login|password)$" %]
<p>
<input type="submit" value="Continue">
</p>
</form>
[% END %]
[% PROCESS global/footer.html.tmpl %]
[% BLOCK field_names %]
[% IF field_descs.${field_name} %]
[% field_descs.${field_name} FILTER html -%]
[%- # ELSIF for things that don't belong in the field_descs hash here -%]
[% ELSE %]
[% field_name FILTER html %]
[% END %]
[% END %]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment