~ubuntu-branches/ubuntu/oneiric/bugzilla/oneiric

« back to all changes in this revision

Viewing changes to template/en/default/admin/components/updated.html.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Raphael Bossek
  • Date: 2008-06-27 22:34:34 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080627223434-0ib57vstn43bb4a3
Tags: 3.0.4.1-1
* Update of French, Russian and German translations. (closes: #488251)
* Added Bulgarian and Belarusian translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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/
6
 
  #
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.
11
 
  #
12
 
  # The Original Code is the Bugzilla Bug Tracking System.
13
 
  #
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
17
 
  # Rights Reserved.
18
 
  #
19
 
  # Contributor(s): Gavin Shelley <bugzilla@chimpychompy.org>
20
 
  #                 Akamai Technologies <bugzilla-dev@akamai.com>
21
 
  #                 Max Kanat-Alexander <mkanat@bugzilla.org>
22
 
  #%]
23
 
 
24
 
[%# INTERFACE:
25
 
  #
26
 
  # 'updated_XXX' variables are booleans, and are defined if the
27
 
  # 'XXX' field was updated during the edit just being handled.
28
 
  #
29
 
  # updated_name: the name of the component updated
30
 
  #
31
 
  # updated_description: the component description updated
32
 
  #
33
 
  # updated_initialowner: the default assignee updated
34
 
  #
35
 
  # updated_initialqacontact: the default qa contact updated
36
 
  #
37
 
  # updated_initialcc: the default initial cc list
38
 
  #
39
 
  # comp: object; Bugzilla::Component object representing the component 
40
 
  #               user updated.
41
 
  # product: object; Bugzilla::Product object representing the product to
42
 
  #               which the component belongs.
43
 
  #
44
 
  # initial_cc_names: a comma-separated list of the login names of
45
 
  #                   the Initial CC, if it was updated.
46
 
  #%]
47
 
  
48
 
[% title = BLOCK %]Updating Component '[% comp.name FILTER html %]' of Product
49
 
                   '[% product.name FILTER html %]'[% END %]
50
 
[% PROCESS global/header.html.tmpl
51
 
  title = title
52
 
%]
53
 
 
54
 
[% IF updated_description %]
55
 
  <table>
56
 
    <tr>
57
 
      <td>Updated description to:</td>
58
 
      <td>'[% comp.description FILTER html_light %]'</td>
59
 
    </tr>
60
 
  </table>
61
 
[% END %]
62
 
 
63
 
[% IF updated_initialowner %]
64
 
  <p>Updated Default Assignee to: '[% comp.default_assignee.login FILTER html %]'.</p>
65
 
[% END %]
66
 
 
67
 
[% IF updated_initialqacontact %]
68
 
  <p>
69
 
  [% IF comp.default_qa_contact.id %]
70
 
    Updated Default QA Contact to '[% comp.default_qa_contact.login FILTER html %]'.
71
 
  [% ELSE %]
72
 
    Removed Default QA Contact.
73
 
  [% END %]
74
 
  </p>
75
 
[% END %]
76
 
 
77
 
[% IF updated_name %]
78
 
  <p>Updated Component name to: '[% comp.name FILTER html %]'.</p>
79
 
[% END %]
80
 
 
81
 
[% IF updated_initialcc %]
82
 
  [% IF initial_cc_names %]
83
 
    <p>Updated Default CC list to:
84
 
      '[% initial_cc_names FILTER html %]'.</p>
85
 
  [% ELSE %]
86
 
    <p>Removed the Default CC list.</p>
87
 
  [% END %]
88
 
[% END %]
89
 
 
90
 
[% UNLESS updated_description || updated_initialowner || 
91
 
          updated_initialqacontact || updated_name  ||
92
 
          updated_initialcc %]
93
 
  <p>Nothing changed for component '[% comp.name FILTER html %]'.</p>
94
 
[% END %]
95
 
 
96
 
[% PROCESS admin/components/footer.html.tmpl %]
97
 
 
98
 
[% PROCESS global/footer.html.tmpl %]