~ubuntu-branches/debian/squeeze/bugzilla/squeeze

« back to all changes in this revision

Viewing changes to template/en/default/admin/components/edit.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
 
  #%]
22
 
 
23
 
[%# INTERFACE:
24
 
  # comp: object; Bugzilla::Component object representing the component the
25
 
  #               user wants to edit.
26
 
  # product: object; Bugzilla::Product object representing the product to
27
 
  #               which the component belongs.
28
 
  #%]
29
 
 
30
 
[% PROCESS global/variables.none.tmpl %]
31
 
 
32
 
[% title = BLOCK %]
33
 
  Edit component '[% comp.name FILTER html %]' of product '[% product.name FILTER html %]'
34
 
[% END %]
35
 
[% PROCESS global/header.html.tmpl
36
 
  title = title
37
 
%]
38
 
 
39
 
<form method="post" action="editcomponents.cgi">
40
 
  <table border="0" cellpadding="4" cellspacing="0">
41
 
 
42
 
    <tr>
43
 
      <td valign="top">Component:</td>
44
 
      <td><input size="64" maxlength="64" name="component" value="
45
 
      [%- comp.name FILTER html %]"></td>
46
 
    </tr>
47
 
    <tr>
48
 
      <td valign="top">Component Description:</td>
49
 
      <td>
50
 
        [% INCLUDE global/textarea.html.tmpl
51
 
          name           = 'description'
52
 
          minrows        = 4
53
 
          cols           = 64
54
 
          wrap           = 'virtual'
55
 
          defaultcontent = comp.description
56
 
        %]
57
 
      </td>
58
 
    </tr>
59
 
    <tr>
60
 
      <td valign="top"><label for="initialowner">Default Assignee:</label></td>
61
 
      <td>
62
 
        [% INCLUDE global/userselect.html.tmpl
63
 
           name => "initialowner"
64
 
           id => "initialowner"
65
 
           value => comp.default_assignee.login
66
 
           size => 64
67
 
           emptyok => 1
68
 
         %]
69
 
      </td>
70
 
  
71
 
[% IF Param('useqacontact') %]
72
 
    </tr>
73
 
    <tr>
74
 
      <td valign="top"><label for="initialqacontact">Default QA contact:</label></td>
75
 
      <td>
76
 
        [% INCLUDE global/userselect.html.tmpl
77
 
           name => "initialqacontact"
78
 
           id => "initialqacontact"
79
 
           value => comp.default_qa_contact.login
80
 
           size => 64
81
 
           emptyok => 1
82
 
         %]
83
 
      </td>
84
 
[% END %]
85
 
  
86
 
    </tr>
87
 
    <tr>
88
 
      <td valign="top">
89
 
        <label for="initialcc">Default CC List:</label>
90
 
      </td>
91
 
      <td>
92
 
        [% INCLUDE global/userselect.html.tmpl
93
 
           name     => "initialcc"
94
 
           id       => "initialcc"
95
 
           value    => initial_cc_names
96
 
           size     => 64
97
 
           multiple => 5
98
 
        %]
99
 
        <br>
100
 
        [% IF !Param("usemenuforusers") %]
101
 
          <em>Enter user names for the CC list as a comma-separated list.</em>
102
 
        [% END %]
103
 
      </td>
104
 
    </tr>
105
 
    <tr>
106
 
      <td>[% terms.Bugs %]:</td>
107
 
      <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 %]&amp;product=
112
 
                [%- product.name FILTER url_quote %]">[% comp.bug_count %]</a>
113
 
[% ELSE %]
114
 
        None
115
 
[% END %]
116
 
      </td>
117
 
    </tr>
118
 
 
119
 
  </table>
120
 
 
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&amp;product=
127
 
        [%- product.name FILTER url_quote %]&amp;component=
128
 
        [%- comp.name FILTER url_quote %]">Delete</a> this component.
129
 
 
130
 
</form>
131
 
 
132
 
[% PROCESS admin/components/footer.html.tmpl
133
 
  no_edit_component_link = 1
134
 
%]
135
 
 
136
 
[% PROCESS global/footer.html.tmpl %]