Bugzilla – Attachment 8002 Details for
Bug 6751
Link in readingrec.pl to export a barcode file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6751: Followup: Move export action into the "More" toolbar
Bug-6751-Followup-Move-export-action-into-the-More.patch (text/plain), 3.87 KB, created by
Jared Camins-Esakov
on 2012-03-03 16:38:24 UTC
(
hide
)
Description:
Bug 6751: Followup: Move export action into the "More" toolbar
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2012-03-03 16:38:24 UTC
Size:
3.87 KB
patch
obsolete
>From cc51c749e747d6830e9644ea8a6ba7bc526056dc Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 15 Feb 2012 12:44:57 +0100 >Subject: [PATCH] Bug 6751: Followup: Move export action into the "More" toolbar >Content-Type: text/plain; charset="UTF-8" > >Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> >Also corrected grammar: changed caption from "Export today checkin barcodes" >to the more idiomatic "Export today's checked in barcodes." >--- > .../prog/en/includes/circ-toolbar.inc | 9 +++++++-- > .../prog/en/modules/help/members/readingrec.tt | 4 +++- > .../prog/en/modules/members/readingrec.tt | 1 - > 3 files changed, 10 insertions(+), 4 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 a4acfdf..fc7915d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc >@@ -33,6 +33,10 @@ function update_child() { > [% END %] > } > >+function export_barcodes() { >+ window.open('/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrowernumber %]&op=export_barcodes'); >+} >+ > // prepare DOM for YUI Toolbar > > $(document).ready(function() { >@@ -65,8 +69,9 @@ function update_child() { > { 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 }} >+ ]; > > new YAHOO.widget.Button({ > type: "menu", >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/help/members/readingrec.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/help/members/readingrec.tt >index 6e9a837..804fdfe 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/help/members/readingrec.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/help/members/readingrec.tt >@@ -4,6 +4,8 @@ > > <p>The circulation history tab will appear if you have set the intranetreadinghistory preference to allow it to appear. If you have the OPACPrivacy system preference set to 'Allow' and the patron has decided that the library cannot keep this information this tab will only show currently checked out items.</p> > >+<p>You can export the today checkin barcodes by clinking on the link above the table. It simply generates a list of barcodes.</p> >+ > <p><strong>See the full documentation for Circulation History in the <a href="http://manual.koha-community.org/3.6/en/patroninformation.html#circhistory">manual</a> (online).</strong></p> > >-[% INCLUDE 'help-bottom.inc' %] >\ No newline at end of file >+[% INCLUDE 'help-bottom.inc' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >index 245dece..0b31878 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt >@@ -29,7 +29,6 @@ > [% IF ( loop_reading ) %] > <form action="/cgi-bin/koha/members/readingrec.pl" method="get"><input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" /></form> > >-<p><a href="readingrec.pl?borrowernumber=[% borrowernumber %]&op=export_barcodes">Export checkin barcodes</a></p> > <div id="pagertable_readingrec"> > [% INCLUDE 'table-pager.inc' perpage='20' %] > </div> >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6751
:
5056
|
7012
|
7130
|
7211
|
7561
|
7651
|
8001
|
8002
|
8059
|
8124