From cce244f6b578309c6b428078d3a9947bfccc6638 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 8 May 2008 02:36:29 +0000 Subject: =?UTF-8?q?Bug=20431363:=20Include=20information=20about=20flag=20?= =?UTF-8?q?types=20when=20config.cgi=20returns=20data=20in=20the=20RDF=20f?= =?UTF-8?q?ormat=20-=20Patch=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Bucli?= =?UTF-8?q?n=20=20r=3Dmyk=20r=3Dmkanat=20a=3Dmkanat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/config.rdf.tmpl | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) (limited to 'template/en/default/config.rdf.tmpl') diff --git a/template/en/default/config.rdf.tmpl b/template/en/default/config.rdf.tmpl index 8d2c5a282..3c6f54969 100644 --- a/template/en/default/config.rdf.tmpl +++ b/template/en/default/config.rdf.tmpl @@ -16,6 +16,7 @@ # Rights Reserved. # # Contributor(s): Myk Melez + # Frédéric Buclin #%] @@ -123,7 +124,8 @@ [% FOREACH component = product.components %] -
  • +
  • [% END %] @@ -152,13 +154,26 @@ + [% all_visible_flag_types = {} %] [% FOREACH product = products %] [% FOREACH component = product.components %]
  • - + [% component.name FILTER html %] + + + [% flag_types = component.flag_types.bug.merge(component.flag_types.attachment) %] + [% FOREACH flag_type = flag_types %] + [% NEXT UNLESS flag_type.is_active %] + [% all_visible_flag_types.${flag_type.id} = flag_type %] +
  • + [% END %] + +
  • [% END %] @@ -196,6 +211,24 @@ [% END %] + + + [% FOREACH flag_type = all_visible_flag_types.values.sort('name') %] +
  • + + [% flag_type.name FILTER html %] + [% flag_type.description FILTER html %] + [% flag_type.target_type FILTER html %] + [% flag_type.is_requestable FILTER html %] + [% flag_type.is_requesteeble FILTER html %] + [% flag_type.is_multiplicable FILTER html %] + +
  • + [% END %] +
    +
    + [% PROCESS "global/field-descs.none.tmpl" %] -- cgit v1.2.1