]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 473201: config.rdf.tmpl flag_type should include group information - Patch by...
authorlpsolit%gmail.com <>
Thu, 29 Jan 2009 21:00:24 +0000 (21:00 +0000)
committerlpsolit%gmail.com <>
Thu, 29 Jan 2009 21:00:24 +0000 (21:00 +0000)
template/en/default/config.rdf.tmpl

index 84465ddd5eda21bf40b858a7b227743e1d6b806e..e8050489a2bc8a630693595e14868d8f4d495ee2 100644 (file)
             <bz:requestable>[% flag_type.is_requestable FILTER html %]</bz:requestable>
             <bz:specifically_requestable>[% flag_type.is_requesteeble FILTER html %]</bz:specifically_requestable>
             <bz:multiplicable>[% flag_type.is_multiplicable FILTER html %]</bz:multiplicable>
+            [% IF user.in_group("editcomponents") %]
+              <bz:grant_group>[% flag_type.grant_group.name FILTER html %]</bz:grant_group>
+              <bz:request_group>[% flag_type.request_group.name FILTER html %]</bz:request_group>
+            [% END %]
           </bz:flag_type>
         </li>
       [% END %]