/[web]/templates/bugzilla/trunk/admin/keywords/list.html.tmpl
ViewVC logotype

Contents of /templates/bugzilla/trunk/admin/keywords/list.html.tmpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 48 - (show annotations) (download)
Fri Nov 26 14:56:29 2010 UTC (13 years, 5 months ago) by dmorgan
File size: 2126 byte(s)
Add custom template with identity support
1 [%# The contents of this file are subject to the Mozilla Public
2 # License Version 1.1 (the "License"); you may not use this file
3 # except in compliance with the License. You may obtain a copy of
4 # the License at http://www.mozilla.org/MPL/
5 #
6 # Software distributed under the License is distributed on an "AS
7 # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
8 # implied. See the License for the specific language governing
9 # rights and limitations under the License.
10 #
11 # The Original Code is the Bugzilla Bug Tracking System.
12 #
13 # The Initial Developer of the Original Code is Netscape Communications
14 # Corporation. Portions created by Netscape are
15 # Copyright (C) 1998 Netscape Communications Corporation. All
16 # Rights Reserved.
17 #
18 # Contributor(s): Terry Weissman <terry@mozilla.org>
19 # Vlad Dascalu <jocuri@softhome.net>
20 # Jouni Heikniemi <jouni@heikniemi.net>
21 #%]
22
23 [%# INTERFACE:
24 # keywords: array keyword objects having the properties:
25 # - id: number. The ID of the keyword.
26 # - name: string. The name of the keyword.
27 # - description: string. The description of the keyword.
28 # - bug_count: number. The number of bugs with the keyword.
29 #%]
30
31 [% PROCESS global/variables.none.tmpl %]
32
33 [% PROCESS global/header.html.tmpl
34 title = "Select keyword"
35 %]
36
37 [% columns = [
38 {
39 name => "name"
40 heading => "Edit keyword..."
41 contentlink => "editkeywords.cgi?action=edit&amp;id=%%id%%"
42 },
43 {
44 name => "description"
45 heading => "Description"
46 allow_html_content => 1
47 },
48 {
49 name => "bug_count"
50 heading => "$terms.Bugs"
51 align => "right"
52 contentlink => "buglist.cgi?keywords=%%name%%"
53 },
54 {
55 heading => "Action"
56 content => "Delete"
57 contentlink => "editkeywords.cgi?action=del&amp;id=%%id%%"
58 }
59 ]
60 %]
61
62 [% PROCESS admin/table.html.tmpl
63 columns = columns
64 data = keywords
65 footer = footer_row
66 %]
67
68 <p><a href="editkeywords.cgi?action=add">Add a new keyword</a></p>
69
70 [% PROCESS global/footer.html.tmpl %]

  ViewVC Help
Powered by ViewVC 1.1.30