~ubuntu-branches/ubuntu/saucy/bugzilla/saucy

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Alexis Sukrieh
  • Date: 2006-11-15 07:54:08 UTC
  • mfrom: (3.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061115075408-wlbl33r80yh9q3uo
Tags: 2.22.1-2
* Depends on mysql-client as we provide mysql support with dbconfig-common.
  (closes: #398621)
* Urgency set to high to fix the etch RC bug.
* Updated the Bugzilla version (debian minor) in Bugzilla/Config.pm.

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
// Note: only publicly-accessible bugs (those not in any group) will be
 
23
// listed when using this JavaScript format. This is to prevent malicious
 
24
// sites stealing information about secure bugs.
 
25
  
 
26
bugs = new Array; 
 
27
 
 
28
[% FOREACH bug = bugs %]
 
29
  bugs[[% bug.bug_id %]] = [ 
 
30
    [% FOREACH column = displaycolumns %]
 
31
      "[%- bug.$column FILTER js -%]"[% "," UNLESS loop.last %]
 
32
    [% END %]
 
33
  ];
 
34
[% END %]
 
35
 
 
36
if (window.buglistCallback) {
 
37
  buglistCallback(bugs);
 
38
}