Bugzilla – Attachment 45635 Details for
Bug 14131
Patroncard: Add possibility to print from patron lists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14131 - Adding print patron cards to patron lists home page
Bug-14131---Adding-print-patron-cards-to-patron-li.patch (text/plain), 2.68 KB, created by
Marc Véron
on 2015-12-14 10:24:22 UTC
(
hide
)
Description:
Bug 14131 - Adding print patron cards to patron lists home page
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-12-14 10:24:22 UTC
Size:
2.68 KB
patch
obsolete
>From 2eec502f571bac8d7a14064b634143c94941978f Mon Sep 17 00:00:00 2001 >From: Liz <wizzyrea@gmail.com> >Date: Thu, 15 Oct 2015 04:11:39 +0000 >Subject: [PATCH] Bug 14131 - Adding print patron cards to patron lists home > page >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To test: > >Go to /cgi-bin/koha/patron-lists/lists.pl >Make a patron list >Click "Print patron cards" >Success: you get a pdf of cards to print. >Failure: you can't get a pdf of cards to print. > >Note that you'll need to have a card layout, template, and printer profile defined. The defaults should work. > >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../intranet-tmpl/prog/en/modules/patron_lists/lists.tt | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >index eee075e..4807796 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >@@ -1,7 +1,7 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Tools › Patron lists</title> > [% INCLUDE 'doc-head-close.inc' %] >- >+[% INCLUDE 'greybox.inc' %] > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> > [% INCLUDE 'datatables.inc' %] > >@@ -11,7 +11,7 @@ > $('#patron-lists-table').dataTable($.extend(true, {}, dataTablesDefaults, { > "autoWidth": false, > "aoColumnDefs": [ >- { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, >+ { "aTargets": [ -1, -2, -3, -4 ], "bSortable": false, "bSearchable": false }, > ], > "sPaginationType": "four_button" > } )); >@@ -46,6 +46,7 @@ > <th> </th> > <th> </th> > <th> </th> >+ <th> </th> > </tr> > </thead> > >@@ -69,6 +70,11 @@ > <i class="fa fa-trash"></i> Delete > </a> > </td> >+ <td> >+ <a class="btn btn-mini" href="#" onclick='GB_showCenter(_("Print patron cards from list"), "/cgi-bin/koha/patroncards/print.pl?patronlist_id=[% l.patron_list_id %]", 700, 800);return false;'> >+ <i class="icon-print"></i> Print patron cards >+ </a> >+ </td> > </tr> > [% END %] > </tbody> >-- >1.7.10.4
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 14131
:
38792
|
38875
|
38876
|
42491
|
42821
|
43414
|
43415
|
43544
|
43805
|
43806
|
45634
| 45635 |
45636