[%# 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. #%] [% INCLUDE global/header.html.tmpl title = "Group Members Report" style_urls = [ "extensions/BMO/web/styles/reports.css" ] %] [% SET privileged = (user.in_group('editusers') || user.in_group('infrasec')) %]
Group
[% IF group != '' %]

Members of the [% group FILTER html %] group:

[% IF types.size > 0 %] [% IF privileged %] [% END %] [% FOREACH type = types %] [% count = loop.count() %] [% END %]
Type Count MembersLast Seen (days ago)
[% IF type.name == 'direct' %] direct [% ELSE %] via  [% IF privileged %] [% type.name FILTER html %] [% ELSE %]another group[% END %] [% END %] [% type.members.size FILTER html %] [% FOREACH member = type.members %] [% IF privileged %] [% END %] [% END %]
[% IF privileged %] [% ELSE %] [% END %] [% member.name FILTER html %] <[% member.email FILTER email FILTER html %]> [% member.lastseen FILTER html %]
JSON [% ELSE %]

This group is empty.

[% END %] [% END %] [% INCLUDE global/footer.html.tmpl %]