[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [% PROCESS global/header.html.tmpl title = "Group Membership Report" generate_api_token = 1 style_urls = [ "extensions/BMO/web/styles/reports.css" ] javascript_urls = [ "js/field.js" ] %]
User(s): [% INCLUDE global/userselect.html.tmpl id => "who" name => "who" value => who.join(', ') size => 40 classes => ["bz_userfield"] multiple => 5 field_title => "One or more email address (comma delimited)" %]  
[% IF users.size %] [% FOREACH u = users %] [% FOREACH g = u.groups %] [% END %] [% END %]
[% u.user.identity FILTER html %]
  [% g.name FILTER html %] [% g.desc FILTER html %] [% IF g.via == '' %] direct [% ELSE %] [% g.via FILTER html %] [% END %]
[% END %] [% INCLUDE global/footer.html.tmpl %]