diff options
Diffstat (limited to 'extensions/TrackingFlags/template/en/default')
-rw-r--r-- | extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_edit.html.tmpl | 6 | ||||
-rw-r--r-- | extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_list.html.tmpl | 11 |
2 files changed, 14 insertions, 3 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..f239791c7 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 @@ -98,6 +98,12 @@ var selected_components = [ </tr> <tr> + <th>Enter [% terms.Bug %]</th> + <td><input type="checkbox" name="flag_enter_bug" id="flag_enter_bug" value="1" [% "checked" IF flag.enter_bug %]></td> + <td class="help">can be set on [% terms.bug %] creation</td> +</tr> + +<tr> <th>Active</th> <td><input type="checkbox" name="flag_active" id="flag_active" value="1" [% "checked" IF flag.is_active %]></td> </tr> 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 6c2ecc915..e310bcee5 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 @@ -9,9 +9,10 @@ [% PROCESS global/header.html.tmpl title = "Release Tracking Flags" style_urls = [ 'extensions/TrackingFlags/web/styles/admin.css' ] + javascript_urls = [ 'extensions/TrackingFlags/web/js/admin.js' ] %] -<table class="list" cellspacing="0"> +<table id="flag_list" class="list" cellspacing="0"> <tr> <th>Name</th> @@ -23,7 +24,9 @@ </tr> [% FOREACH flag = flags %] - <tr class="[% loop.count % 2 == 1 ? "odd_row" : "even_row" %]"> + <tr class="flag_row + [% loop.count % 2 == 1 ? " odd_row" : " even_row" %] + [% " is_disabled" UNLESS flag.is_active %]"> <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 %] @@ -50,7 +53,9 @@ </table> <div id="new_flag"> -<a href="page.cgi?id=tracking_flags_admin_edit.html">Add Flag</a> + <a href="page.cgi?id=tracking_flags_admin_edit.html">Add Flag</a> | + <input type="checkbox" onclick="filter_flag_list(this.checked)" id="filter"> + <label for="filter">Show disabled flags</label> </div> [% INCLUDE global/footer.html.tmpl %] |