summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@redhat.com>2014-06-05 16:21:59 +0200
committerDavid Lawrence <dkl@redhat.com>2014-06-05 16:21:59 +0200
commit9a0720a341323ba45e836942c303a0d9dafec793 (patch)
tree815b6bff841f518a876c67acb4cebe63ee9bf7c7 /template
parent641fe2292a5d2507cddae5db5dc1b94e1f030971 (diff)
downloadbugzilla-9a0720a341323ba45e836942c303a0d9dafec793.tar.gz
bugzilla-9a0720a341323ba45e836942c303a0d9dafec793.tar.xz
Bug 1019177 - Provide link in saved search preferences page to a shared search that can be given to others
r/a=glob
Diffstat (limited to 'template')
-rw-r--r--template/en/default/account/prefs/saved-searches.html.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/en/default/account/prefs/saved-searches.html.tmpl b/template/en/default/account/prefs/saved-searches.html.tmpl
index 76e553381..9b0447a83 100644
--- a/template/en/default/account/prefs/saved-searches.html.tmpl
+++ b/template/en/default/account/prefs/saved-searches.html.tmpl
@@ -101,6 +101,11 @@
>[% group.name FILTER html %]</option>
[% END %]
</select>
+ [% IF q.shared_with_group.id %]
+ (<a href="buglist.cgi?cmdtype=dorem&amp;remaction=run&amp;namedcmd=
+ [% q.name FILTER uri %]&amp;sharer_id=
+ [% user.id FILTER uri %]">Link</a>)
+ [% END %]
[% IF user.can_bless %]
<span [% IF !bless_group_ids.grep("^$q.shared_with_group.id\$").0
%]class="bz_default_hidden"[% END %]>