From f301c9241af577f8f3df94338f1329d91c82d252 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sat, 1 Jul 2006 23:45:53 +0000 Subject: Bug 343248: SQL query to get all keywords with bug count is duplicated in editkeywords.cgi and describekeywords.cgi Patch By Remi Zara r=mkanat, a=justdave --- template/en/default/reports/keywords.html.tmpl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 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 c4aee3cae..979c50163 100644 --- a/template/en/default/reports/keywords.html.tmpl +++ b/template/en/default/reports/keywords.html.tmpl @@ -21,10 +21,11 @@ #%] [%# INTERFACE: - # keywords: array of hashes. May be empty. Each has has three members: + # keywords: array keyword objects. May be empty. Each has has four members: + # id: id of the keyword # name: the name of the keyword # description: keyword description. May be HTML. - # bugcount: number of bugs with that keyword + # bug_count: number of bugs with that keyword # caneditkeywords: boolean. True if this user can edit keywords %] @@ -56,7 +57,7 @@ [% keyword.description %] - [% IF keyword.bugcount > 0 %] + [% IF keyword.bug_count > 0 %] Search [% ELSE %] @@ -64,9 +65,9 @@ [% END %] - [% IF keyword.bugcount > 0 %] + [% IF keyword.bug_count > 0 %] - [% keyword.bugcount %] + [% keyword.bug_count %] [% ELSE %] none [% END %] -- cgit v1.2.3-24-g4f1b