summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-10-25 16:13:04 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-10-25 16:13:04 +0200
commit7ca00e7e232eb8bc29340f7dac6a0aef638fcb01 (patch)
treea41b55409221d9d88bcab23a003f553cef60752e /template/en/default
parent5c7a5ee4d9a82f04816b280a461fb8a5727f1226 (diff)
downloadbugzilla-7ca00e7e232eb8bc29340f7dac6a0aef638fcb01.tar.gz
bugzilla-7ca00e7e232eb8bc29340f7dac6a0aef638fcb01.tar.xz
Bug 802586 - config.js.tmpl doesn't display keywords correctly anymore
r/a=LpSolit
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/config.js.tmpl11
1 files changed, 9 insertions, 2 deletions
diff --git a/template/en/default/config.js.tmpl b/template/en/default/config.js.tmpl
index 3f0bade18..0399f8b28 100644
--- a/template/en/default/config.js.tmpl
+++ b/template/en/default/config.js.tmpl
@@ -30,8 +30,15 @@ var resolution = [ [% FOREACH x = resolution %]'[% x FILTER js %]', [% END %]
// Keywords
// ========
-var keyword = [ [% FOREACH x = keyword %]'[% x FILTER js %]', [% END %] ];
-
+var keyword = [ [% FOREACH k = keywords %]'[% k.name FILTER js %]', [% END %] ];
+var keyword_descs = [
+[% FOREACH k = keywords %]
+ {
+ name: '[% k.name FILTER js %]',
+ description: '[% k.description FILTER js %]',
+ },
+[% END %]
+];
// Platforms
// =========