3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Download list [% shelf.shelfname | html %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>[% INCLUDE 'doc-head-close.inc' %]
5 [% BLOCK cssinclude %][% END %]
7 [% INCLUDE 'bodytag.inc' bodyid='opac-downloadlist' %]
8 [% INCLUDE 'masthead.inc' %]
10 <nav aria-label="breadcrumb">
11 <ul class="breadcrumb">
12 <li class="breadcrumb-item">
13 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
15 [% IF ( logged_in_user ) %]
16 <li class="breadcrumb-item"><a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</a></li>
18 <li class="breadcrumb-item">
19 [% IF shelf.category == 1 %]
20 <a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=1">Your lists</a>
22 <a href="/cgi-bin/koha/opac-shelves.pl?op=list&category=2">Public lists</a>
25 <li class="breadcrumb-item active" aria-current="page">
26 Download list <em>[% shelf.shelfname | html %]</em>
31 <div class="container-fluid">
33 [% IF ( OpacNav||loggedinusername ) %]
34 <div class="col-lg-2">
36 [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
41 [% IF ( OpacNav||loggedinusername ) %]
42 <div class="col-10 order-first order-md-first order-lg-2">
44 <div class="col order-first order-md-first order-lg-2">
46 [% END # / IF fullpage %]
48 <div id="userdownloadshelf" class="maincontent">
50 [% UNLESS ( invalidlist ) %]
52 <h1>Download list <em>[% shelf.shelfname | html %]</em></h1>
54 <div class="alert alert-info">
55 <p>Your download should begin automatically.</p>
58 <form method="post" action="/cgi-bin/koha/opac-downloadshelf.pl">
60 <select name="format" id="dlformat" required="required">
61 <option value="">-- Choose format --</option>
62 <option value="ris">RIS (Zotero, EndNote, others)</option>
63 <option value="bibtex">BibTeX</option>
64 <option value="isbd">ISBD</option>
65 <option value="iso2709">MARC</option>
66 [% FOREACH csv_profile IN csv_profiles %]
67 <option value="[% csv_profile.export_format_id | html %]">CSV - [% csv_profile.profile | html %]</option>
70 <span class="required">Required</span>
73 <fieldset class="action">
74 <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
75 <input type="submit" name="save" class="btn btn-primary" value="Go" />
76 <a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber | uri %]" class="cancel close" data-dismiss="modal">Cancel</a>
81 $(document).ready(function(){
82 $("#userdownloadshelf form").on("submit",function(e){
83 if( $("#dlformat").val() == "" ){
85 alert(_("Please choose a download format"));
87 $("#modalWin").modal("hide");
93 [% END # / IF format %]
96 <h1>Download list unsuccessful</h1>
97 <div class="alert alert-warning">
98 <p>You do not have permission to download this list.</p>
101 [% END # / invalidlist %]
103 </div> <!-- / #userdownloadshelf -->
105 [% IF ( fullpage ) %]
106 </div> <!-- / .col-10 -->
107 </div> <!-- / .row -->
108 </div> <!-- / .container-fluid -->
109 </div> <!-- / .main -->
110 [% INCLUDE 'opac-bottom.inc' %]
111 [% BLOCK jsinclude %]
113 $(document).ready(function(){
114 $("#userdownloadshelf form").on("submit",function(e){
115 if( $("#dlformat").val() == "" ){
117 alert(_("Please choose a download format"));
123 [% END # / IF fullpage %]