From: lpsolit%gmail.com <> Date: Thu, 8 May 2008 02:36:29 +0000 (+0000) Subject: Bug 431363: Include information about flag types when config.cgi returns data in... X-Git-Tag: bugzilla-3.3~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cce244f6b578309c6b428078d3a9947bfccc6638;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/template/en/default/config.rdf.tmpl b/template/en/default/config.rdf.tmpl index 8d2c5a282d..3c6f549693 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" %]