From 3ab51e93c9be608529f09e20cbaf02c08a204af3 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 | 7 ++++--- 1 files changed, 4 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..3c001c0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc @@ -117,9 +117,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 %] +
  • Duplicate
  • + [% END %]
  • Print Page
  • Print Slip
  • Search to hold
  • -- 1.7.5.4