summaryrefslogtreecommitdiffstats
path: root/template/en/default/config.rdf.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-04-20 16:49:44 +0200
committerlpsolit%gmail.com <>2008-04-20 16:49:44 +0200
commitaea95887f82a6066ebadb99068d94ef05087909b (patch)
tree6434d160002a9d337937761e25bd5f84049b24b3 /template/en/default/config.rdf.tmpl
parent6851239b32ae7dff2252e8b0928bd1bfd7142c08 (diff)
downloadbugzilla-aea95887f82a6066ebadb99068d94ef05087909b.tar.gz
bugzilla-aea95887f82a6066ebadb99068d94ef05087909b.tar.xz
Bug 429847: config.cgi should include additional information about custom fields - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'template/en/default/config.rdf.tmpl')
-rw-r--r--template/en/default/config.rdf.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/template/en/default/config.rdf.tmpl b/template/en/default/config.rdf.tmpl
index 99850fa71..8d2c5a282 100644
--- a/template/en/default/config.rdf.tmpl
+++ b/template/en/default/config.rdf.tmpl
@@ -204,6 +204,12 @@
<bz:field rdf:about="[% urlbase FILTER xml %]field.cgi?name=[% item.name FILTER url_quote %]">
<bz:name>[% item.name FILTER html %]</bz:name>
<bz:description>[% (field_descs.${item.name} OR item.description) FILTER html %]</bz:description>
+ [%-# These values are meaningful for custom fields only. %]
+ [% IF item.custom %]
+ <bz:type>[% item.type FILTER html %]</bz:type>
+ <bz:type_desc>[% field_types.${item.type} FILTER html %]</bz:type_desc>
+ <bz:enter_bug>[% item.enter_bug FILTER html %]</bz:enter_bug>
+ [% END %]
</bz:field>
</li>
[% END %]