summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorFrank Becker <Frank@Frank-Becker.de>2012-04-13 00:55:00 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-04-13 00:55:00 +0200
commit0354373916176c202632a7cb8965b1afd578ab8d (patch)
tree2772056a15f13febc155aeb5178966fff9e429b4 /template/en
parentd0abf01254d10e296a9d05fe887f42691c15d9dd (diff)
downloadbugzilla-0354373916176c202632a7cb8965b1afd578ab8d.tar.gz
bugzilla-0354373916176c202632a7cb8965b1afd578ab8d.tar.xz
Bug 340439: Include classifications in config.cgi
r/a=LpSolit
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/config.rdf.tmpl21
1 files changed, 20 insertions, 1 deletions
diff --git a/template/en/default/config.rdf.tmpl b/template/en/default/config.rdf.tmpl
index 4fb51d109..c6ecac7ce 100644
--- a/template/en/default/config.rdf.tmpl
+++ b/template/en/default/config.rdf.tmpl
@@ -105,6 +105,23 @@
[% END %]
+[% IF Param('useclassification') %]
+ <bz:classifications>
+ <Seq>
+ [% FOREACH classification = classifications %]
+ <li>
+ <bz:classification rdf:about="[% escaped_urlbase %]classification.cgi?name=
+ [% classification.name FILTER uri %]">
+ <bz:name>[% classification.name FILTER html %]</bz:name>
+ <bz:description>[% classification.description FILTER html %]</bz:description>
+ <bz:sortkey>[% classification.sortkey FILTER html %]</bz:sortkey>
+ </bz:classification>
+ </li>
+ [% END %]
+ </Seq>
+ </bz:classifications>
+[% END %]
+
<bz:products>
<Seq>
[% FOREACH product = products %]
@@ -112,7 +129,9 @@
<bz:product rdf:about="[% escaped_urlbase %]product.cgi?name=[% product.name FILTER uri %]">
<bz:name>[% product.name FILTER html %]</bz:name>
<bz:allows_unconfirmed>[% product.allows_unconfirmed FILTER html %]</bz:allows_unconfirmed>
-
+ [% IF Param('useclassification') %]
+ <bz:classification>[% class_names.${product.classification_id}.name FILTER html %]</bz:classification>
+ [% END %]
<bz:components>
<Seq>
[% FOREACH component = product.components %]