View | Details | Raw Unified | Return to bug 23455
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt (-3 / +3 lines)
Lines 46-52 Link Here
46
                        <td>
46
                        <td>
47
                            [% IF l.shared %]
47
                            [% IF l.shared %]
48
                                [% IF shared_by_other %]
48
                                [% IF shared_by_other %]
49
                                    by <a href=/cgi-bin/koha/members/moremember.pl?borrowernumber=[% l.owner.id | html %]">[% INCLUDE 'patron-title.inc' patron=l.owner %]</a>
49
                                    by <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% l.owner.id | uri %]">[% INCLUDE 'patron-title.inc' patron=l.owner %]</a>
50
                                [% ELSE %]
50
                                [% ELSE %]
51
                                    by you
51
                                    by you
52
                                [% END %]
52
                                [% END %]
Lines 127-133 Link Here
127
    <script>
127
    <script>
128
        $(document).ready(function() {
128
        $(document).ready(function() {
129
            var patronExportModal = $("#patronExportModal");
129
            var patronExportModal = $("#patronExportModal");
130
            var patronExportModalBody = $("#patronExportModal .modal-body")
130
            var patronExportModalBody = $("#patronExportModal .modal-body");
131
131
132
            $('#patron-lists-table').dataTable($.extend(true, {}, dataTablesDefaults, {
132
            $('#patron-lists-table').dataTable($.extend(true, {}, dataTablesDefaults, {
133
                "autoWidth": false,
133
                "autoWidth": false,
Lines 159-165 Link Here
159
                modal_body.html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
159
                modal_body.html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
160
                target_url = $(this).attr("action");
160
                target_url = $(this).attr("action");
161
                params =  $( this ).serialize();
161
                params =  $( this ).serialize();
162
                modal_body.load( target_url + "?" + params + " #custom-doc");
162
                $("#patronExportModal .modal-body").load( target_url + "?" + params + " #export_patron_list");
163
            });
163
            });
164
164
165
            patronExportModal.on("click",".closebtn,.gb-close",function(e){
165
            patronExportModal.on("click",".closebtn,.gb-close",function(e){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt (-2 / +3 lines)
Lines 36-45 Link Here
36
                </fieldset>
36
                </fieldset>
37
            </form>
37
            </form>
38
            [% ELSIF ( patronlist_id && template_id && layout_id ) %]
38
            [% ELSIF ( patronlist_id && template_id && layout_id ) %]
39
                <h3>Click on the link to download the patron cards from the patron list.</h3>
39
                <div id="export_patron_list">
40
                    <h3>Click on the link to download the patron cards from the patron list.</h3>
40
                    <p>
41
                    <p>
41
                        <a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?patronlist_id=[% patronlist_id | html %]&amp;template_id=[% template_id | html %]&amp;layout_id=[% layout_id | html %]&amp;layout_back_id=[% layout_back_id | html %]&amp;start_card=[% start_card | html %]">label_patronlist_[% patronlist_id | html %].pdf</a>
42
                        <a class="document pdf" href="/cgi-bin/koha/patroncards/create-pdf.pl?patronlist_id=[% patronlist_id | html %]&amp;template_id=[% template_id | html %]&amp;layout_id=[% layout_id | html %]&amp;layout_back_id=[% layout_back_id | html %]&amp;start_card=[% start_card | html %]">label_patronlist_[% patronlist_id | html %].pdf</a>
42
                    </p>
43
                    </p>
44
                </div>
43
            [% ELSE %]
45
            [% ELSE %]
44
            <h3>
46
            <h3>
45
                    [% IF ( label_ids ) %]
47
                    [% IF ( label_ids ) %]
46
- 

Return to bug 23455