From c117db6fc7b1f71ba6839ca1f98f35b81553775a Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 3 Apr 2012 09:03:25 -0400 Subject: [PATCH] Bug 2733 - Can't print patron account Content-Type: text/plain; charset="utf-8" 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. --- .../prog/en/includes/circ-toolbar.inc | 24 ++++++++++---------- .../prog/en/includes/members-toolbar.inc | 20 ++++++++-------- 2 files changed, 22 insertions(+), 22 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 efad86e..85905fa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc @@ -61,17 +61,17 @@ 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: _("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 }} ]; @@ -126,20 +126,20 @@ function export_barcodes() { [% END %] [% IF ( CAN_user_borrowers ) %] [% IF ( adultborrower AND activeBorrowerRelationship ) %]
  • Add child
  • [% END %] - [% IF ( CAN_user_staffaccess ) %]
  • Change Password
  • [% END %] + [% IF ( CAN_user_staffaccess ) %]
  • 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 ) %] -
  • Set Permissions
  • +
  • Set permissions
  • [% END %] [% ELSE %] -
  • Set Permissions
  • +
  • Set permissions
  • [% END %] [% END %] [% IF ( StaffMember ) %][% UNLESS ( CAN_user_staffaccess ) %]
  • Delete
  • [% END %] 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 bad8502..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