summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-11-26 02:02:50 +0100
committermkanat%bugzilla.org <>2008-11-26 02:02:50 +0100
commitb6f22a08f6016216e928f8ef12d76de3a546f4d9 (patch)
treedeb9885ac0c6c598982cea3423d2e5aca8672635 /template/en
parent159617d3c0210b338feee49a840e1ab4e87f7e57 (diff)
downloadbugzilla-b6f22a08f6016216e928f8ef12d76de3a546f4d9.tar.gz
bugzilla-b6f22a08f6016216e928f8ef12d76de3a546f4d9.tar.xz
Bug 465219: Include ID in the flag section of /show_bug.cgi?id=...&ctype=xml
Patch By Frank Becker <Frank@Frank-Becker.de> r=mkanat, a=mkanat
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/bug/show.xml.tmpl2
-rw-r--r--template/en/default/config.rdf.tmpl1
2 files changed, 3 insertions, 0 deletions
diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl
index 16f281ea5..23874d989 100644
--- a/template/en/default/bug/show.xml.tmpl
+++ b/template/en/default/bug/show.xml.tmpl
@@ -56,6 +56,7 @@
[% FOREACH type = bug.flag_types %]
[% FOREACH flag = type.flags %]
<flag name="[% type.name FILTER xml %]"
+ id="[% flag.id FILTER xml %]"
status="[% flag.status FILTER xml %]"
setter="[% flag.setter.login FILTER xml %]"
[% IF flag.requestee %]
@@ -99,6 +100,7 @@
[% FOREACH flag = a.flags %]
<flag name="[% flag.type.name FILTER xml %]"
+ id="[% flag.id FILTER xml %]"
status="[% flag.status FILTER xml %]"
setter="[% flag.setter.email FILTER xml %]"
[% IF flag.status == "?" && flag.requestee %]
diff --git a/template/en/default/config.rdf.tmpl b/template/en/default/config.rdf.tmpl
index ea400a2ae..9d385966a 100644
--- a/template/en/default/config.rdf.tmpl
+++ b/template/en/default/config.rdf.tmpl
@@ -217,6 +217,7 @@
<li>
<bz:flag_type rdf:about="[% urlbase FILTER xml %]flag.cgi?id=[% flag_type.id FILTER url_quote
%]&amp;name=[% flag_type.name FILTER url_quote %]">
+ <bz:id>[% flag_type.id FILTER html %]</bz:id>
<bz:name>[% flag_type.name FILTER html %]</bz:name>
<bz:description>[% flag_type.description FILTER html %]</bz:description>
<bz:type>[% flag_type.target_type FILTER html %]</bz:type>