[%# 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. #%] [%# INTERFACE: # queryshare_groups: list of groups the user may share queries with # (id, name). # bless_group_ids: list of group ids the user may bless. #%] [% IF user.can_bless %] [% END %]

Your saved searches are as follows:

[% may_share = user.in_group(Param('querysharegroup')) && queryshare_groups.size %] [% IF may_share %] [% END %] [% IF may_share %] [% END %] [% FOREACH q = user.queries %] [% IF may_share %] [% END %] [% END %]
Search Run Edit Forget Show in Footer Share With a Group
My [% terms.Bugs %] [% filtered_username = user.login FILTER uri %] Run    
[% q.name FILTER html %] Run Edit [% IF q.used_in_whine %] Remove from whining first [% ELSE %] Forget [% END %] [% IF user.can_bless %] [% END %] [% IF q.shared_with_users %] (shared with [% q.shared_with_users FILTER html %] [%+ q.shared_with_users > 1 ? "users" : "user" %]) [% END %]
[% IF user.can_bless %]

Note that for every search that has the "Add to footer" selected, a link to the shared search is added to the footer of every user that is a direct member of the group at the time you click Submit Changes.

[% END %]
[% IF user.queries_available.size %]

You may use these searches saved and shared by others:

[% FOREACH q = user.queries_available %] [% END %]
Search Shared By Shared To Run Edit Show in Footer
[% q.name FILTER html %] [% q.user.identity FILTER html %] [% q.shared_with_group.name FILTER html %] Run Edit
[% ELSE %]

No searches are shared with you by other users.

[% END %]