~ubuntu-branches/ubuntu/hardy/bugzilla/hardy-security

« back to all changes in this revision

Viewing changes to template/en/default/list/list.html.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Rémi Perrot
  • Date: 2004-04-02 01:13:32 UTC
  • Revision ID: james.westby@ubuntu.com-20040402011332-hxrg0n2szimd7d25
Tags: upstream-2.16.5
Import upstream version 2.16.5

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): Myk Melez <myk@mozilla.org>
 
20
  #%]
 
21
 
 
22
[%############################################################################%]
 
23
[%# Template Initialization                                                  #%]
 
24
[%############################################################################%]
 
25
 
 
26
[% DEFAULT title = "Bug List" %]
 
27
[% style_urls = [ "css/buglist.css" ] %]
 
28
[% qorder = order FILTER url_quote IF order %]
 
29
 
 
30
 
 
31
[%############################################################################%]
 
32
[%# Page Header                                                              #%]
 
33
[%############################################################################%]
 
34
 
 
35
[% PROCESS global/header.html.tmpl
 
36
  title = title
 
37
  style = style
 
38
%]
 
39
 
 
40
<div align="center">
 
41
  <b>[% currenttime %]</b><br>
 
42
 
 
43
  [% IF debug %]
 
44
    <p>[% query FILTER html %]</p>
 
45
  [% END %]
 
46
 
 
47
  [% IF quip %]
 
48
    <a href="quips.cgi"><i>[% quip FILTER html %]</i></a>
 
49
  [% END %]
 
50
 
 
51
</div>
 
52
 
 
53
[% IF toolong %]
 
54
  <h2>
 
55
    This list is too long for Bugzilla's little mind; the 
 
56
    Next/Prev/First/Last buttons won't appear on individual bugs.
 
57
  </h2>
 
58
[% END %]
 
59
 
 
60
<hr>
 
61
 
 
62
 
 
63
[%############################################################################%]
 
64
[%# Preceding Status Line                                                    #%]
 
65
[%############################################################################%]
 
66
 
 
67
[% IF bugs.size > 9 %]
 
68
  [% bugs.size %] bugs found.
 
69
[% END %]
 
70
 
 
71
 
 
72
[%############################################################################%]
 
73
[%# Start of Change Form                                                     #%]
 
74
[%############################################################################%]
 
75
 
 
76
[% IF dotweak %]
 
77
  <form name="changeform" method="post" action="process_bug.cgi">
 
78
[% END %]
 
79
 
 
80
 
 
81
[%############################################################################%]
 
82
[%# Bug Table                                                                #%]
 
83
[%############################################################################%]
 
84
 
 
85
[% FLUSH %]
 
86
[% PROCESS list/table.html.tmpl %]
 
87
 
 
88
[%############################################################################%]
 
89
[%# Succeeding Status Line                                                   #%]
 
90
[%############################################################################%]
 
91
 
 
92
[% IF bugs.size == 0 %]
 
93
  Zarro Boogs found.
 
94
  <p>
 
95
    <a href="query.cgi">Query Page</a>
 
96
    &nbsp;&nbsp;<a href="enter_bug.cgi">Enter New Bug</a>
 
97
    <a href="query.cgi?[% urlquerypart FILTER html %]">Edit this query</a>
 
98
  </p>
 
99
 
 
100
[% ELSIF bugs.size == 1 %]
 
101
  One bug found.
 
102
 
 
103
[% ELSE %]
 
104
  [% bugs.size %] bugs found.
 
105
 
 
106
[% END %]
 
107
 
 
108
<br>
 
109
 
 
110
 
 
111
[%############################################################################%]
 
112
[%# Rest of Change Form                                                      #%]
 
113
[%############################################################################%]
 
114
 
 
115
[% IF dotweak %]
 
116
 
 
117
  [% PROCESS "list/edit-multiple.html.tmpl" %]
 
118
  
 
119
  </form>
 
120
 
 
121
  <hr>
 
122
 
 
123
[% END %]
 
124
 
 
125
 
 
126
[%############################################################################%]
 
127
[%# Navigation Bar                                                           #%]
 
128
[%############################################################################%]
 
129
 
 
130
[% IF bugs.size > 0 %]
 
131
  <form method="post" action="long_list.cgi">
 
132
    <input type="hidden" name="buglist" value="[% buglist %]">
 
133
    <input type="submit" value="Long Format">
 
134
 
 
135
    <a href="query.cgi">Query Page</a> &nbsp;&nbsp;
 
136
    <a href="enter_bug.cgi">Enter New Bug</a> &nbsp;&nbsp;
 
137
    <a href="colchange.cgi?[% urlquerypart FILTER html %]">Change Columns</a> &nbsp;&nbsp;
 
138
 
 
139
    [% IF bugs.size > 1 && caneditbugs && !dotweak %]
 
140
      <a href="buglist.cgi?[% urlquerypart FILTER html %]
 
141
        [%- "&order=$qorder" FILTER html IF order %]&amp;tweak=1">Change Several 
 
142
        Bugs at Once</a>
 
143
      &nbsp;&nbsp;
 
144
    [% END %]
 
145
 
 
146
    [% IF bugowners %]
 
147
      <a href="mailto:[% bugowners %]">Send Mail to Bug Owners</a> &nbsp;&nbsp;
 
148
    [% END %]
 
149
 
 
150
    <a href="query.cgi?[% urlquerypart FILTER html %]">Edit this Query</a> &nbsp;&nbsp;
 
151
 
 
152
  </form>
 
153
 
 
154
[% END %]
 
155
 
 
156
 
 
157
[%############################################################################%]
 
158
[%# Page Footer                                                              #%]
 
159
[%############################################################################%]
 
160
 
 
161
[% PROCESS global/footer.html.tmpl %]
 
162