X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fincludes%2Fmembers-toolbar.inc;h=83136d04b86745c161f598201071bc0c439dcec9;hb=b5a93edea574ecae1e30d6e7b7969be66b8b3619;hp=787b85216103aa076528ad3c59d5d6edff31d394;hpb=f7644ec91f2d151535f8f5125c4057a9213d766e;p=srvgit diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc index 787b852161..83136d04b8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc @@ -1,156 +1,145 @@ - - +[% INCLUDE 'blocking_errors.inc' %] +[% USE Koha %] +[% USE Branches %] +[% USE Categories %] +[% USE AuthorisedValues %] +[% USE scalar %]
- [% IF ( CAN_user_borrowers ) %] - [% IF ( category_type ) %] - [% IF ( guarantor ) %] - - [% ELSE %] - - [% END %] - Edit - [% ELSE %] - [% IF ( categorycode ) %] - Edit - [% ELSE %] - Edit - [% END %] - [% END %] + [% IF CAN_user_borrowers_edit_borrowers %] + Edit [% END %] - [% IF ( CAN_user_borrowers ) %] - [% IF ( adultborrower AND activeBorrowerRelationship ) %] - Add child - [% END %] - [% IF ( CAN_user_borrowers ) %] - Change password + [% IF CAN_user_borrowers_edit_borrowers %] + [% IF patron.is_adult AND Koha.Preference("borrowerRelationship") %] + Add guarantee [% END %] + Change password + Duplicate [% END %] - Duplicate + [% IF CAN_user_circulate_circulate_remaining_permissions %]
- +
- Search to hold -
- -
+ + +