Bug 11941: Add link to patron lists from the patron home page
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 28 Apr 2015 09:26:44 +0000 (11:26 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 11 Jun 2015 13:15:46 +0000 (10:15 -0300)
The patron lists are only accessible from the tools module, which is not
easily accessible when you are in the patron module.

Test plan:
Go on the patron home page.
In the toolbar, you should see a link to the patron lists.

NOTE: Tweaked button to a to get the click to work.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Liz Rea <liz@catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc

index 8888e45..10c14a8 100644 (file)
@@ -6,5 +6,8 @@
                 [% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;categorycode=[% category.categorycode %]">[% category.description %]</a></li>[% END %]
             </ul>
     </div>
+    [% IF CAN_user_tools_manage_patron_lists %]
+        <a class="btn btn-small" href="/cgi-bin/koha/patron_lists/lists.pl"><i class="icon-edit"></i>Patron lists</a>
+    [% END %]
 </div>
 [% END %]