[%# 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:
Search | Run | Edit | Forget | Show in Footer | [% may_share = user.in_group(Param('querysharegroup')) && queryshare_groups.size %] [% IF may_share %]Share With a Group | [% END %] [% Hook.process('saved-header') %]
---|---|---|---|---|---|
My [% terms.Bugs %] | [% filtered_username = user.login FILTER uri %] Run | [% IF may_share %] | — | [% END %] [% Hook.process('saved-row') %]||
[% q.name FILTER html %] | Run | Edit | [% IF q.used_in_whine %] Remove from whining first [% ELSE %] Forget [% END %] | [% IF may_share %] | [% IF q.shared_with_group.id %] (Link) [% 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 %] | [% END %] [% Hook.process('saved-row') %]
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:
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 |
No searches are shared with you by other users.
[% END %]