From ce138ac96f3a5a729568f6d7db2e50ce3653b7bb Mon Sep 17 00:00:00 2001 From: Lyon3 Team Date: Thu, 7 Jun 2012 11:39:57 +0200 Subject: [PATCH] Permission for change password button in members toolbar should be borrowers instead of staffaccess http://bugs.koha-community.org/show_bug.cgi?id=8242 Signed-off-by: Katrin Fischer Signed-off-by: Paul Poulain --- koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 1b4c22dbed..9acdf90247 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc @@ -91,7 +91,7 @@ function update_child() { [% IF ( adultborrower ) %]new YAHOO.widget.Button("addchild");[% END %] new YAHOO.widget.Button("editpatron"); new YAHOO.widget.Button("addnote"); - [% IF CAN_user_staffaccess %]new YAHOO.widget.Button("changepassword"); [% END %] + [% IF CAN_user_borrowers %]new YAHOO.widget.Button("changepassword"); [% END %] new YAHOO.widget.Button("duplicate"); new YAHOO.widget.Button("printslip"); new YAHOO.widget.Button("printpage"); @@ -115,7 +115,7 @@ function update_child() { [% END %] [% END %] [% IF ( adultborrower AND activeBorrowerRelationship ) %]
  • Add child
  • [% END %] - [% IF CAN_user_staffaccess %]
  • Change password
  • [% END %] + [% IF CAN_user_borrowers %]
  • Change password
  • [% END %]
  • Duplicate
  • Print summary
  • Print slip
  • -- 2.39.5