aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/groups
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2006-07-14 03:07:57 +0000
committerwurblzap%gmail.com <>2006-07-14 03:07:57 +0000
commitf0c7611262b3948e72e8a18a036569a78f3b51f2 (patch)
tree54b0e146d4f8fd3c466002728261c895d7709034 /template/en/default/admin/groups
parent09495a118b165d60d17780a8623318c19d6ffae6 (diff)
downloadbugs-f0c7611262b3948e72e8a18a036569a78f3b51f2.tar
bugs-f0c7611262b3948e72e8a18a036569a78f3b51f2.tar.gz
bugs-f0c7611262b3948e72e8a18a036569a78f3b51f2.tar.bz2
bugs-f0c7611262b3948e72e8a18a036569a78f3b51f2.tar.xz
bugs-f0c7611262b3948e72e8a18a036569a78f3b51f2.zip
Bug 69000: Permit a stored query to be marked "shared" and accessible by other users.
Patch by Marc Schumann <wurblzap@gmail.com>, r=vladd, a=myk
Diffstat (limited to 'template/en/default/admin/groups')
-rw-r--r--template/en/default/admin/groups/delete.html.tmpl20
1 files changed, 20 insertions, 0 deletions
diff --git a/template/en/default/admin/groups/delete.html.tmpl b/template/en/default/admin/groups/delete.html.tmpl
index cca19981b..d0c50f69a 100644
--- a/template/en/default/admin/groups/delete.html.tmpl
+++ b/template/en/default/admin/groups/delete.html.tmpl
@@ -30,6 +30,7 @@
# hasbugs: boolean int. True if the group includes bugs in it.
# hasproduct: boolean int. True if the group is binded to a product.
# hasflags: boolean int. True if the group is used by a flag type.
+ # shared_queries: int. Number of saved searches being shared with this group.
# buglist: string. The list of bugs included in this group.
#%]
@@ -92,6 +93,25 @@
flag types from this group for me.</p>
[% END %]
+ [% IF shared_queries %]
+ <p>
+ <b>There
+ [% IF shared_queries > 1 %]
+ are [% shared_queries %] saved searches
+ [% ELSE %]
+ is a saved search
+ [% END %]
+ being shared with this group.</b>
+ If you delete this group,
+ [% IF shared_queries > 1 %]
+ these saved searches
+ [% ELSE %]
+ this saved search
+ [% END %]
+ will fall back to being private again.
+ </p>
+ [% END %]
+
<h2>Confirmation</h2>
<p>Do you really want to delete this group?</p>