~ubuntu-branches/ubuntu/intrepid/bugzilla/intrepid

« back to all changes in this revision

Viewing changes to template/en/default/bug/dependency-graph.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): Gervase Markham <gerv@gerv.net>
20
 
  #%]
21
 
 
22
 
[%# INTERFACE:
23
 
  # bug_id: integer. The number of the bug(s).
24
 
  # multiple_bugs: boolean. True if bug_id contains > 1 bug number.
25
 
  # doall: boolean. True if we are displaying every bug in the database.
26
 
  # showsummary: boolean. True if we are showing bug summaries.
27
 
  # rankdir: string. "TB" if we are ranking top-to-bottom,
28
 
                     "LR" if left-to-right.
29
 
  # image_url: string. The URL of the graphic showing the dependencies.
30
 
  # map_url: string. The URL of the map file for the image.  (Optional)
31
 
  # image_map: string. The image map for the graphic showing the
32
 
                       dependencies. (Optional)
33
 
  #%]
34
 
 
35
 
[% PROCESS global/variables.none.tmpl %]
36
 
 
37
 
[% title = "Dependency Graph"
38
 
   header = title
39
 
 %]
40
 
 
41
 
[% IF NOT multiple_bugs AND NOT doall %]
42
 
  [% filtered_desc = short_desc FILTER html %]
43
 
  [% title = "$title for $terms.bug $bug_id"
44
 
     header = "$header for $terms.bug <a href=\"show_bug.cgi?id=$bug_id\">$bug_id</a>"
45
 
     subheader = filtered_desc
46
 
   %]
47
 
[% END %]
48
 
 
49
 
[% PROCESS global/header.html.tmpl %]
50
 
 
51
 
[% image_map %]
52
 
 
53
 
<p>
54
 
  Green circles represent open [% terms.bugs %].
55
 
</p>
56
 
 
57
 
[% IF image_map %]
58
 
  <img src="[% image_url %]" alt="Dependency graph" usemap="#imagemap">
59
 
[% ELSE %]
60
 
  <a href="[% map_url %]">
61
 
    <img src="[% image_url %]" alt="Dependency graph" ismap="ismap">
62
 
  </a>
63
 
[% END %]
64
 
 
65
 
<hr>
66
 
 
67
 
<form action="showdependencygraph.cgi">
68
 
  <table>
69
 
    <tr>
70
 
      <td>
71
 
        [% terms.Bug %] numbers:
72
 
        <input name="id" value="[% bug_id %]">
73
 
      </td>
74
 
    </tr>
75
 
 
76
 
    <tr>
77
 
      <td>
78
 
        <input type="checkbox" name="doall"
79
 
        [% " checked" IF doall %]>
80
 
        Show <b>every</b> [% terms.bug %] in the system with dependencies
81
 
      </td>
82
 
    </tr>
83
 
 
84
 
    <tr>
85
 
      <td colspan="3">
86
 
        <input type="checkbox" name="showsummary"
87
 
          [% " checked" IF showsummary %]>
88
 
        Show the summaries of all displayed [% terms.bugs %]
89
 
      </td>
90
 
    </tr>
91
 
 
92
 
    <tr>
93
 
      <td colspan="3">
94
 
        <select name="rankdir">
95
 
          <option value="TB"
96
 
            [% " selected" IF rankdir == "TB" %]>
97
 
            Orient top-to-bottom
98
 
          </option>
99
 
          <option value="LR"
100
 
            [% " selected" IF rankdir == "LR" %]>
101
 
            Orient left-to-right
102
 
          </option>
103
 
        </select>
104
 
      </td>
105
 
    </tr>
106
 
  </table>
107
 
  <input type="submit" id="change" value="Change Parameters">
108
 
</form>
109
 
 
110
 
[% PROCESS global/footer.html.tmpl %]