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>
21
# Max Kanat-Alexander <mkanat@bugzilla.org>
26
# 'updated_XXX' variables are booleans, and are defined if the
27
# 'XXX' field was updated during the edit just being handled.
29
# updated_name: the name of the component updated
31
# updated_description: the component description updated
33
# updated_initialowner: the default assignee updated
35
# updated_initialqacontact: the default qa contact updated
37
# updated_initialcc: the default initial cc list
39
# comp: object; Bugzilla::Component object representing the component
41
# product: object; Bugzilla::Product object representing the product to
42
# which the component belongs.
44
# initial_cc_names: a comma-separated list of the login names of
45
# the Initial CC, if it was updated.
48
[% title = BLOCK %]Updating Component '[% comp.name FILTER html %]' of Product
49
'[% product.name FILTER html %]'[% END %]
50
[% PROCESS global/header.html.tmpl
54
[% IF updated_description %]
57
<td>Updated description to:</td>
58
<td>'[% comp.description FILTER html_light %]'</td>
63
[% IF updated_initialowner %]
64
<p>Updated Default Assignee to: '[% comp.default_assignee.login FILTER html %]'.</p>
67
[% IF updated_initialqacontact %]
69
[% IF comp.default_qa_contact.id %]
70
Updated Default QA Contact to '[% comp.default_qa_contact.login FILTER html %]'.
72
Removed Default QA Contact.
78
<p>Updated Component name to: '[% comp.name FILTER html %]'.</p>
81
[% IF updated_initialcc %]
82
[% IF initial_cc_names %]
83
<p>Updated Default CC list to:
84
'[% initial_cc_names FILTER html %]'.</p>
86
<p>Removed the Default CC list.</p>
90
[% UNLESS updated_description || updated_initialowner ||
91
updated_initialqacontact || updated_name ||
93
<p>Nothing changed for component '[% comp.name FILTER html %]'.</p>
96
[% PROCESS admin/components/footer.html.tmpl %]
98
[% PROCESS global/footer.html.tmpl %]