blob: 6c2ecc915cc8c4fa893f48edd422ef3c326a8ca6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
[%# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
#%]
[% PROCESS global/header.html.tmpl
title = "Release Tracking Flags"
style_urls = [ 'extensions/TrackingFlags/web/styles/admin.css' ]
%]
<table class="list" cellspacing="0">
<tr>
<th>Name</th>
<th>Description</th>
<th>Type</th>
<th>Sort Key</th>
<th>Active</th>
<th> </th>
</tr>
[% FOREACH flag = flags %]
<tr class="[% loop.count % 2 == 1 ? "odd_row" : "even_row" %]">
<td [% 'class="disabled"' UNLESS flag.is_active %]>
<a href="page.cgi?id=tracking_flags_admin_edit.html&mode=edit&flag_id=[% flag.flag_id FILTER uri %]">
[% flag.name FILTER html %]
</a>
</td>
<td [% 'class="disabled"' UNLESS flag.is_active %]>
[% flag.description FILTER html %]
</td>
<td [% 'class="disabled"' UNLESS flag.is_active %]>
[% flag.flag_type FILTER html %]
</td>
<td [% 'class="disabled"' UNLESS flag.is_active %]>
[% flag.sortkey FILTER html %]
</td>
<td>
[% flag.is_active ? "Yes" : "No" %]
</td>
<td>
<a href="page.cgi?id=tracking_flags_admin_edit.html&mode=copy&copy_from=[% flag.flag_id FILTER uri %]">Copy</a>
</td>
</tr>
[% END %]
</table>
<div id="new_flag">
<a href="page.cgi?id=tracking_flags_admin_edit.html">Add Flag</a>
</div>
[% INCLUDE global/footer.html.tmpl %]
|