# Contributor(s): Gervase Markham <gerv@gerv.net>
#%]
+[%# INTERFACE:
+ # login: string. The user's Bugzilla login email address.
+ #%]
+
[% PROCESS global/header.html.tmpl
title = "Account Created"
%]
#
# Contributor(s): John Vandenberg <zeroj@null.net>
#%]
+[%# INTERFACE:
+ # emailaddress: string. The user's old Bugzilla login email address.
+ # newemailaddress: string. The user's new Bugzilla login email address.
+ # token: string. The token associated with this change.
+ #%]
[% expiration_ts = token_ts + (max_token_age * 86400) %]
From: bugzilla-admin-daemon
To: [% emailaddress %]
# Contributor(s): John Vandenberg <zeroj@null.net>
#%]
+[%# INTERFACE:
+ # token: string. The token to be used in this address change.
+ #%]
+
[% PROCESS global/header.html.tmpl %]
-
<p>
To change your email address, please enter the old email address:
</p>
# Contributor(s): Gervase Markham <gerv@gerv.net>
#%]
+[%# INTERFACE:
+ # login: string. The user's Bugzilla login email address.
+ #%]
+
[% PROCESS global/header.html.tmpl
title = "Account Exists"
%]
# Contributor(s): Myk Melez <myk@mozilla.org>
#%]
+[%# INTERFACE:
+ # name: string. The name of the attachment status we are editing.
+ # desc: string. Its description.
+ # sortkey: integer. Where it's sorted in the list.
+ # product: string. Which product it applies to.
+ # id: integer. Its internal ID number.
+ #%]
+
[% PROCESS global/header.html.tmpl
title = "Edit Attachment Status"
style = "
# Contributor(s): Myk Melez <myk@mozilla.org>
#%]
+[%# INTERFACE:
+ # statusdefs: list of hashes. may be empty. Each hash has six members:
+ # name: string. The name of the attachment status.
+ # description: string. Its description.
+ # sortkey: integer. Sorting priority.
+ # product: string. The product to which the attachment status applies.
+ # id: integer. Its internal ID number.
+ # attachcount: integer. How many attachments have that status.
+ #%]
+
[% PROCESS global/header.html.tmpl
title = 'Administer Attachment Statuses'
message = message
# Contributor(s): Myk Melez <myk@mozilla.org>
#%]
+[%# INTERFACE:
+ # bugid: integer. ID of the bug we just attached an attachment to.
+ # attachid: integer. ID of the attachment just created.
+ # description: string. Description of the attachment just created.
+ # contenttype: string. The Content Type we attached it as.
+ # contenttypemethod: string. How we got the content type of the attachment.
+ # Possible values: autodetect, list, manual.
+ # mailresults: string. who was mailed, and who wasn't.
+ #%]
+
[% PROCESS global/header.html.tmpl
title = "Changes Submitted"
style = "th { text-align: left; }"
# Gervase Markham <gerv@gerv.net>
#%]
+[%# INTERFACE:
+ # bugid: integer. ID of the bug we are updating.
+ # attachid: integer. ID of the attachment we just attached.
+ # mailresults: string. Who was mailed and who wasn't.
+ #%]
+
[% PROCESS global/header.html.tmpl
title = "Changes Submitted"
style = "th { text-align: left; }"
# Contributor(s): Gervase Markham <gerv@gerv.net>
#%]
+[%# INTERFACE:
+ # This template has no interface.
+ #%]
+
[% PROCESS global/header.html.tmpl
title = "Display bugs as XML"
%]
#
# Contributor(s): Gervase Markham <gerv@gerv.net>
#%]
+[%# INTERFACE:
+ # form: hash. This is the $::FORM variable from a bug submission (i.e. the
+ # fields on a template from enter_bug.cgi.) It can be used to pull out
+ # various custom fields and format an initial Description entry from them.
+ #%]
[% form.comment %]
# Contributor(s): Gervase Markham <gerv@gerv.net>
#%]
+[%# INTERFACE:
+ # This template has no interface.
+ #%]
+
[% PROCESS global/header.html.tmpl
title = "Remove your votes?"
%]
# Contributor(s): Gervase Markham <gerv@gerv.net>
#%]
+[%# INTERFACE:
+ # bug_id: integer. ID of the bug we are listing the votes for.
+ # users: list of hashes. May be empty. Each hash has two members:
+ # name: string. The login name of the user whose vote is attached
+ # count: integer. The number of times that user has votes for this bug.
+ # total: integer. The total number of votes for this bug.
+ #%]
+
[% PROCESS global/header.html.tmpl
title = "Show Votes"
h2 = "Bug <a href='show_bug.cgi?id=$bug_id'>$bug_id</a>"
[% PROCESS global/header.html.tmpl
title = "Show Votes"
- h2 = user.name
+ h2 = voting_user.name
%]
+[% canedit = 1 IF voting_user.login == user.login %]
+
[% IF votes_recorded %]
<p>
<font color="red">
</a>
</td>
<td align="right">
- [% IF user.canedit %]
+ [% IF canedit %]
[% IF product.onevoteonly %]
<input type="checkbox" name="[% bug.id %]" value="1"
[% " checked" IF bug.count %]>
[% END %]
</table>
- [% IF user.canedit %]
+ [% IF canedit %]
<input type="submit" value="Change My Votes">
<br>
<br>
</form>
[% ELSE %]
<p>
- [% IF user.canedit %]
+ [% IF canedit %]
You are
[% ELSE %]
This user is
# Contributor(s): Gervase Markham <gerv@gerv.net>
#%]
+[%# INTERFACE:
+ # proddesc: hash. May be empty. The hash keys are the products, and the values
+ # are their descriptions.
+ #%]
+
[% DEFAULT title = "Choose a Product" %]
[% PROCESS global/header.html.tmpl %]
# Contributor(s): Gervase Markham <gerv@gerv.net>
#%]
+[%# INTERFACE:
+ # header_done: boolean. True if the header has already been printed.
+ # error: string. The error message to be printed. May contain HTML.
+ # variables: hash. Useful data about the problem. The keys are the variable
+ # names, and the values the variable values.
+ #%]
+
[% UNLESS header_done %]
[% PROCESS global/header.html.tmpl %]
[% END %]
# Contributor(s):
#%]
+[%# INTERFACE:
+ # (All the below interface elements are optional.)
+ # title: string. Page title.
+ # h1: string. Main page header.
+ # h2: string. Page subheader.
+ # extra: string. Any other HTML to go inside the <head> tags.
+ # jscript: string. Javascript to go in the header.
+ # style: string. CSS style.
+ # message: string. A message to display to the user. May contain HTML.
+ #%]
+
[% DEFAULT
title = ""
h1 = title
# Contributor(s):
#%]
+[%# INTERFACE:
+ # url: string. An optional URL to go to.
+ # link: string. The link text for that URL.
+ #%]
+
[% DEFAULT title = "Bugzilla Message" %]
[% PROCESS global/header.html.tmpl %]
# Contributor(s): Gervase Markham <gerv@gerv.net>
#%]
+[%# INTERFACE:
+ # header_done: boolean. True if the header has already been printed.
+ # error: string. The error message to be displayed. May contain HTML.
+ #%]
+
[% UNLESS header_done %]
[% PROCESS global/header.html.tmpl %]
[% END %]
# Jacob Steenhagen <jake@acutex.net>
#%]
+[%# INTERFACE:
+ # username: string. The login name of the user, if any.
+ #%]
+
[% PROCESS global/header.html.tmpl
title = 'Bugzilla Main Page'
%]
Reassign</A> bugs to
</label>
<input name="assigned_to"
- value="[% user FILTER html %]"
+ value="[% user.login FILTER html %]"
onchange="document.forms.changeform.knob[[% knum %]].checked = true;"
size="32"><br />
# Contributor(s): Myk Melez <myk@mozilla.org>
#%]
+[%# INTERFACE:
+ # title: string. The title for this page. (optional)
+ #%]
+
[%############################################################################%]
[%# Initialization #%]
[%############################################################################%]
# Contributor(s): Gervase Markham <gerv@gerv.net>
#%]
+[%# INTERFACE:
+ # added_quip: string. Defined if the CGI added a quip data before
+ # displaying anything; if defined, its value is that quip.
+ # show_quips: boolean. True if we are showing the entire quip list.
+ # quips: list of strings. Defined iff show_quips is true. List of all quips.
+ #%]
+
[% PROCESS global/header.html.tmpl
title = "Bugzilla Quip System"
h1 = "Add your own clever headline"
# Contributor(s): Myk Melez <myk@mozilla.org>
#%]
+[%# INTERFACE:
+ # debug: boolean. True if we want the query displayed while we wait.
+ # query: string. The SQL query which makes the buglist.
+ #%]
+
<html>
<head>
<title>Bugzilla is pondering your query</title>
# Contributor(s): Bradley Baetz <bbaetz@student.usyd.edu.au>
#%]
+[%# INTERFACE:
+ # product: string. The product this is the components list for.
+ # components: List of hashes. May be empty. Each hash has four members:
+ # name: string. Name of the component.
+ # description: string. Description of the component. May contain HTML.
+ # initialowner: string. Component's initial owner.
+ # initialqacontact: string. Component's initial QA contact.
+ #%]
+
[% filtered_product = product FILTER html %]
[% PROCESS global/header.html.tmpl
title = "Components for $product"
# Contributor(s): Gervase Markham <gerv@gerv.net>
#%]
+[%# INTERFACE:
+ # This template has no interface. However, to use it, you need to fulfill
+ # the interfaces of search/form.html.tmpl, search/knob.html.tmpl and
+ # search/boolean-charts.html.tmpl.
+ #%]
+
[% PROCESS global/header.html.tmpl
title = "Search for bugs"
extra = " onLoad=\"selectProduct(document.forms['queryform']);\""
# Contributor(s): Gervase Markham <gerv@gerv.net>
#%]
+[%# INTERFACE:
+ # This template has no interface. However, to use it, you need to fulfill
+ # the interfaces of search/form.html.tmpl, search/knob.html.tmpl and
+ # search/boolean-charts.html.tmpl.
+ #%]
+
[% PROCESS global/header.html.tmpl
title = "Search for bugs"
extra = " onLoad=\"selectProduct(document.forms['queryform']);\""