From b8e43f96a9b0c6db3672b576f6ebf5100c797c0d Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 27 Nov 2011 14:52:22 +0100 Subject: [PATCH] Bug 5974: Fix broken toolbar on paton checkout tab Fixed a couple of errors: - [% CAN_user_staffaccess %] should be [% IF ( CAN_user_staffaccess ) %] - added missing [% END %] - added missing line new YAHOO.widget.Button("duplicate"); To test: 1) Open patron account 2) Go through tabs, especially 'Check out' 3) Check toolbars are correct and buttons work --- .../prog/en/includes/circ-toolbar.inc | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc index 2933544..913076f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc @@ -94,6 +94,7 @@ function update_child() { new YAHOO.widget.Button("editpatron"); new YAHOO.widget.Button("addnote"); [% IF CAN_user_staffaccess %] new YAHOO.widget.Button("changepassword"); [% END %] + new YAHOO.widget.Button("duplicate"); new YAHOO.widget.Button("printslip"); new YAHOO.widget.Button("printpage"); } @@ -117,9 +118,10 @@ function update_child() { [% END %] [% END %] [% IF ( CAN_user_borrowers ) %] - [% IF ( adultborrower ) %]
  • Add child
  • [% END %] - [% CAN_user_staffaccess %]
  • Change Password
  • [% END %] -
  • Duplicate
  • + [% IF ( adultborrower ) %]
  • Add child
  • [% END %] + [% IF ( CAN_user_staffaccess ) %]
  • Change Password
  • [% END %] + [% END %] +
  • Duplicate
  • Print Page
  • Print Slip
  • Search to hold
  • -- 1.7.5.4