From cce244f6b578309c6b428078d3a9947bfccc6638 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 8 May 2008 02:36:29 +0000 Subject: Bug 431363: Include information about flag types when config.cgi returns data in the RDF format - Patch by Frédéric Buclin r=myk r=mkanat a=mkanat 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.3-24-g4f1b