summaryrefslogtreecommitdiffstats
path: root/extensions/TrackingFlags/template/en/default/pages
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/TrackingFlags/template/en/default/pages')
-rw-r--r--extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_edit.html.tmpl7
-rw-r--r--extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_list.html.tmpl14
2 files changed, 20 insertions, 1 deletions
diff --git a/extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_edit.html.tmpl b/extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_edit.html.tmpl
index 0c4a443f9..97a9e5a02 100644
--- a/extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_edit.html.tmpl
+++ b/extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_edit.html.tmpl
@@ -102,6 +102,13 @@ var selected_components = [
<td><input type="checkbox" name="flag_active" id="flag_active" value="1" [% "checked" IF flag.is_active %]></td>
</tr>
+[% IF mode == 'edit' %]
+ <tr>
+ <th>[% terms.Bug %] Count</th>
+ <td>[% flag.bug_count FILTER html %]</td>
+ </tr>
+[% END %]
+
</table>
[%# values %]
diff --git a/extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_list.html.tmpl b/extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_list.html.tmpl
index e310bcee5..5ea68dd98 100644
--- a/extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_list.html.tmpl
+++ b/extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_list.html.tmpl
@@ -20,6 +20,9 @@
<th>Type</th>
<th>Sort Key</th>
<th>Active</th>
+ [% IF show_bug_counts %]
+ <th>[% terms.Bugs %]</th>
+ [% END %]
<th>&nbsp;</th>
</tr>
@@ -44,8 +47,13 @@
<td>
[% flag.is_active ? "Yes" : "No" %]
</td>
+ [% IF show_bug_counts %]
+ <td>
+ [% flag.bug_count FILTER html %]
+ </td>
+ [% END %]
<td>
- <a href="page.cgi?id=tracking_flags_admin_edit.html&amp;mode=copy&amp;copy_from=[% flag.flag_id FILTER uri %]">Copy</a>
+ <a href="page.cgi?id=tracking_flags_admin_edit.html&amp;mode=copy&amp;copy_from=[% flag.flag_id FILTER uri %]">Copy</a>
</td>
</tr>
[% END %]
@@ -54,6 +62,10 @@
<div id="new_flag">
<a href="page.cgi?id=tracking_flags_admin_edit.html">Add Flag</a> |
+ [% IF !show_bug_counts %]
+ <a href="page.cgi?id=tracking_flags_admin_list.html&amp;show_bug_counts=1">
+ Show [% terms.bug %] counts (slower)</a> |
+ [% END %]
<input type="checkbox" onclick="filter_flag_list(this.checked)" id="filter">
<label for="filter">Show disabled flags</label>
</div>