From b05c621f774412bfec6a1a5b0a3ef0a6d793a60f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 3 Apr 2012 09:03:25 -0400 Subject: [PATCH] [SIGNED-OFF] Bug 2733 - Can't print patron account Changing "print page" link to "print summary." I hope this will alleviate the suggstion that the option prints the current page. - Changed "Quick slip" to "Print quick slip" to make it consistent with the other options in the menu - Corrected the case of other text strings as required by Bug 2780. Signed-off-by: Katrin Fischer --- .../prog/en/includes/circ-toolbar.inc | 16 ++++++++-------- .../prog/en/includes/members-toolbar.inc | 20 ++++++++++---------- 2 files changed, 18 insertions(+), 18 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 2cbe78d..1e54b22 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc @@ -61,15 +61,15 @@ function export_barcodes() { function yuiToolbar() { var printmenu = [ [% IF ( CAN_user_borrowers ) %] - { text: _("Print page"), onclick: {fn: function(){printx_window("page")}} }, + { text: _("Print summary"), onclick: {fn: function(){printx_window("page")}} }, [% END %] - { text: _("Print slip"), onclick: {fn: function(){printx_window("slip")}} }, - { text: _("Quick slip"), onclick: {fn: function(){printx_window("qslip")}} } + { text: _("Print slip"), onclick: {fn: function(){printx_window("slip")}} }, + { text: _("Print quick slip"), onclick: {fn: function(){printx_window("qslip")}} } ]; var moremenu = [ - { text: _("Renew patron"), onclick: { fn: confirm_reregistration } }, - { text: _("Set permissions"), url: "/cgi-bin/koha/members/member-flags.pl?member=[% borrowernumber %]"[% UNLESS CAN_user_permissions %], disabled: true[% END %]}, + { text: _("Renew patron"), onclick: { fn: confirm_reregistration } }, + { text: _("Set permissions"), url: "/cgi-bin/koha/members/member-flags.pl?member=[% borrowernumber %]"[% UNLESS CAN_user_permissions %], disabled: true[% END %]}, { text: _("Delete"), [% UNLESS CAN_user_borrowers %]disabled: true, [% END %] onclick: { fn: confirm_deletion } }, { text: _("Update child to adult patron") , onclick: { fn: update_child }[% UNLESS is_child %], disabled: true[% END %]}, { text: _("Export today's checked in barcodes"), onclick: { fn: export_barcodes }} @@ -129,10 +129,10 @@ function export_barcodes() { [% IF ( CAN_user_borrowers ) %]
  • Change password
  • [% END %] [% END %]
  • Duplicate
  • -
  • Print page
  • -
  • Print slip
  • +
  • Print summary
  • +
  • Print slip
  • Search to hold
  • -
  • Renew account
  • +
  • Renew account
  • [% IF ( CAN_user_permissions ) %] [% IF ( StaffMember ) %] [% IF ( CAN_user_staffaccess ) %] 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 99590d3..29d9d85 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc @@ -52,16 +52,16 @@ function update_child() { } function yuiToolbar() { var printmenu = [ - { text: _("Print page"), onclick: {fn: function(){printx_window("page")}} }, - { text: _("Print slip"), onclick: {fn: function(){printx_window("slip")}} }, - { text: _("Quick slip"), onclick: {fn: function(){printx_window("qslip")}} } + { text: _("Print summary"), onclick: {fn: function(){printx_window("page")}} }, + { text: _("Print slip"), onclick: {fn: function(){printx_window("slip")}} }, + { text: _("Print quick slip"), onclick: {fn: function(){printx_window("qslip")}} } ]; var moremenu = [ - { text: _("Renew patron"), onclick: { fn: confirm_reregistration } }, - { text: _("Set permissions"), url: "/cgi-bin/koha/members/member-flags.pl?member=[% borrowernumber %]"[% UNLESS ( CAN_user_permissions ) %], disabled: true[% END %]}, + { text: _("Renew patron"), onclick: { fn: confirm_reregistration } }, + { text: _("Set permissions"), url: "/cgi-bin/koha/members/member-flags.pl?member=[% borrowernumber %]"[% UNLESS ( CAN_user_permissions ) %], disabled: true[% END %]}, { text: _("Delete"), onclick: { fn: confirm_deletion}[% UNLESS ( CANDELETEUSER ) %], disabled: true[% END %] }, - { text: _("Update child to adult patron") , onclick: { fn: update_child }[% UNLESS ( is_child ) %], disabled: true[% END %]} + { text: _("Update child to adult patron") , onclick: { fn: update_child }[% UNLESS ( is_child ) %], disabled: true[% END %]} ]; new YAHOO.widget.Button({ @@ -115,10 +115,10 @@ function update_child() { [% END %] [% END %] [% IF ( adultborrower AND activeBorrowerRelationship ) %]
  • Add child
  • [% END %] - [% IF CAN_user_staffaccess %]
  • Change password
  • [% END %] + [% IF CAN_user_staffaccess %]
  • Change password
  • [% END %]
  • Duplicate
  • -
  • Print page
  • -
  • Print slip
  • +
  • Print summary
  • +
  • Print slip
  • Search to hold
  • -
  • Renew account
  • [% IF ( CAN_user_permissions ) %]
  • Set permissions
  • [% END %]
  • Delete
  • +
  • Renew account
  • [% IF ( CAN_user_permissions ) %]
  • Set permissions
  • [% END %]
  • Delete
  • -- 1.7.5.4