From c3c2eccd987259a577108fd05f57dc809950b0e6 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 1 May 2015 00:03:57 -0400 Subject: Bug 69267: Add the ability to deactivate keywords r/a=glob --- template/en/default/reports/keywords.html.tmpl | 73 ++++++++++++++++++-------- 1 file changed, 52 insertions(+), 21 deletions(-) (limited to 'template/en/default/reports') diff --git a/template/en/default/reports/keywords.html.tmpl b/template/en/default/reports/keywords.html.tmpl index 598979d33..6e7ad0c50 100644 --- a/template/en/default/reports/keywords.html.tmpl +++ b/template/en/default/reports/keywords.html.tmpl @@ -18,36 +18,67 @@ title = "$terms.Bugzilla Keyword Descriptions" style_urls = ['skins/standard/admin.css'] %] +[% cgi = Bugzilla.cgi %] +[% show_inactive_keywords = cgi.param("show_inactive_keywords") %] - + + +

+ [% show_inactive_keywords ? "Show" : "Hide" FILTER html %] inactive keywords +

+ +
+ [% FOREACH keyword = keywords %] - - - - - - + + + + + + + [% END %]
Name DescriptionActive Open [% terms.Bugs %] Total [% terms.Bugs %]
[% keyword.name FILTER html %][% keyword.description FILTER html_light %] - [% IF keyword.bug_count > 0 %] - - Search - [% ELSE %] - none - [% END %] - - [% IF keyword.bug_count > 0 %] - - [% keyword.bug_count %] - [% ELSE %] - none - [% END %] -
[% keyword.name FILTER html %][% keyword.description FILTER html_light %][% keyword.is_active ? "Yes" : "No" FILTER html %] + [% IF keyword.bug_count > 0 %] + + Search + [% ELSE %] + none + [% END %] + + [% IF keyword.bug_count > 0 %] + + [% keyword.bug_count %] + [% ELSE %] + none + [% END %] +
-- cgit v1.2.3-24-g4f1b