1
[%# 1.0@bugzilla.org %]
2
[%# The contents of this file are subject to the Mozilla Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/MPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is the Bugzilla Bug Tracking System.
14
# The Initial Developer of the Original Code is Netscape Communications
15
# Corporation. Portions created by Netscape are
16
# Copyright (C) 1998 Netscape Communications Corporation. All
19
# Contributor(s): Gavin Shelley <bugzilla@chimpychompy.org>
20
# Akamai Technologies <bugzilla-dev@akamai.com>
24
# comp: object; Bugzilla::Component object representing the component the
26
# product: object; Bugzilla::Product object representing the product to
27
# which the component belongs.
30
[% PROCESS global/variables.none.tmpl %]
33
Edit component '[% comp.name FILTER html %]' of product '[% product.name FILTER html %]'
35
[% PROCESS global/header.html.tmpl
39
<form method="post" action="editcomponents.cgi">
40
<table border="0" cellpadding="4" cellspacing="0">
43
<td valign="top">Component:</td>
44
<td><input size="64" maxlength="64" name="component" value="
45
[%- comp.name FILTER html %]"></td>
48
<td valign="top">Component Description:</td>
50
[% INCLUDE global/textarea.html.tmpl
55
defaultcontent = comp.description
60
<td valign="top"><label for="initialowner">Default Assignee:</label></td>
62
[% INCLUDE global/userselect.html.tmpl
63
name => "initialowner"
65
value => comp.default_assignee.login
71
[% IF Param('useqacontact') %]
74
<td valign="top"><label for="initialqacontact">Default QA contact:</label></td>
76
[% INCLUDE global/userselect.html.tmpl
77
name => "initialqacontact"
78
id => "initialqacontact"
79
value => comp.default_qa_contact.login
89
<label for="initialcc">Default CC List:</label>
92
[% INCLUDE global/userselect.html.tmpl
95
value => initial_cc_names
100
[% IF !Param("usemenuforusers") %]
101
<em>Enter user names for the CC list as a comma-separated list.</em>
106
<td>[% terms.Bugs %]:</td>
108
[% IF comp.bug_count > 0 %]
109
<a title="[% terms.Bugs %] in component '[% comp.name FILTER html %]'"
110
href="buglist.cgi?component=
111
[%- comp.name FILTER url_quote %]&product=
112
[%- product.name FILTER url_quote %]">[% comp.bug_count %]</a>
121
<input type="hidden" name="action" value="update">
122
<input type="hidden" name="componentold" value="[% comp.name FILTER html %]">
123
<input type="hidden" name="product" value="[% product.name FILTER html %]">
124
<input type="hidden" name="token" value="[% token FILTER html %]">
125
<input type="submit" value="Update" id="update"> or <a
126
href="editcomponents.cgi?action=del&product=
127
[%- product.name FILTER url_quote %]&component=
128
[%- comp.name FILTER url_quote %]">Delete</a> this component.
132
[% PROCESS admin/components/footer.html.tmpl
133
no_edit_component_link = 1
136
[% PROCESS global/footer.html.tmpl %]