~ubuntu-branches/debian/sid/bugzilla/sid

« back to all changes in this revision

Viewing changes to template/en/default/admin/classifications/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): Albert Ting <alt@sonic.net>
20
 
  #%]
21
 
 
22
 
[% PROCESS global/header.html.tmpl
23
 
  title = "Edit classification"
24
 
%]
25
 
 
26
 
<form method=post action="editclassifications.cgi">
27
 
  <table  border=0 cellpadding=4 cellspacing=0>
28
 
    <tr>
29
 
      <th align="right">Classification:</th>
30
 
      <td><input size=64 maxlength=64 name="classification" 
31
 
                 value="[% classification.name FILTER html %]"></td>
32
 
    </tr>
33
 
    <tr>
34
 
      <th align="right">Description:</th>
35
 
      <td>
36
 
        [% INCLUDE global/textarea.html.tmpl
37
 
          name           = 'description'
38
 
          minrows        = 4
39
 
          cols           = 64
40
 
          defaultcontent = classification.description
41
 
        %]
42
 
      </td>
43
 
    </tr>
44
 
    <tr>
45
 
      <th align="right"><label for="sortkey">Sortkey:</label></th>
46
 
      <td><input id="sortkey" size="20" maxlength="20" name="sortkey" value="
47
 
      [%- classification.sortkey FILTER html %]"></td>
48
 
    </tr>
49
 
    <tr valign=top>
50
 
      <th align="right">
51
 
        <a href="editproducts.cgi?classification=[% classification.name FILTER url_quote %]">
52
 
        Edit Products</a>:
53
 
      </th>
54
 
      <td>
55
 
        [% IF classification.products.size > 0 %]
56
 
          <table>
57
 
            [% FOREACH product = classification.products %]
58
 
              <tr>
59
 
                <th align=right valign=top>[% product.name FILTER html %]</th>
60
 
                <td valign=top>
61
 
                  [% IF product.description %]
62
 
                    [% product.description FILTER html_light %]
63
 
                  [% ELSE %]
64
 
                    <font color="red">description missing</font>
65
 
                  [% END %]
66
 
                </td>
67
 
              </tr>
68
 
            [% END %]
69
 
          </table>
70
 
        [% ELSE %]
71
 
          <font color="red">none</font>
72
 
        [% END %]
73
 
      </td>
74
 
    </tr>
75
 
  </table>
76
 
 
77
 
  <input type=hidden name="classificationold" 
78
 
         value="[% classification.name FILTER html %]">
79
 
  <input type=hidden name="action" value="update">
80
 
  <input type="hidden" name="token" value="[% token FILTER html %]">
81
 
  <input type=submit value="Update">
82
 
</form>
83
 
 
84
 
<p>Back to the <a href="./">main [% terms.bugs %] page</a>
85
 
or <a href="editclassifications.cgi"> edit</a> more classifications.
86
 
 
87
 
[% PROCESS global/footer.html.tmpl %]