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">
49 [% UNLESS ( invalidlist ) %]
52 <div class="alert alert-info">
53 <p>Your download should begin automatically.</p>
56 <h1>Download list <em>[% shelf.shelfname | html %]</em></h1>
57 <form method="post" action="/cgi-bin/koha/opac-downloadshelf.pl">
59 <select name="format" id="dlformat" required="required">
60 <option value="">-- Choose format --</option>
61 <option value="ris">RIS (Zotero, EndNote, others)</option>
62 <option value="bibtex">BibTeX</option>
63 <option value="isbd">ISBD</option>
64 <option value="iso2709">MARC</option>
65 [% FOREACH csv_profile IN csv_profiles %]
66 <option value="[% csv_profile.export_format_id | html %]">CSV - [% csv_profile.profile | html %]</option>
69 <span class="required">Required</span>
72 <fieldset class="action">
73 <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
74 <input type="submit" name="save" class="btn btn-primary" value="Go" />
75 <a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber | uri %]" class="cancel close" data-dismiss="modal">Cancel</a>
80 $(document).ready(function(){
81 $("#userdownloadshelf form").on("submit",function(e){
82 if( $("#dlformat").val() == "" ){
84 alert(_("Please choose a download format"));
86 $("#modalWin").modal("hide");
92 [% END # / IF format %]
96 <div class="alert alert-warning">
97 <p>You do not have permission to download this list.</p>
100 [% END # / invalidlist %]
102 </div> <!-- / #userdownloadshelf -->
104 [% IF ( fullpage ) %]
105 </div> <!-- / .col-10 -->
106 </div> <!-- / .row -->
107 </div> <!-- / .container-fluid -->
108 </div> <!-- / .main -->
109 [% INCLUDE 'opac-bottom.inc' %]
110 [% BLOCK jsinclude %]
112 $(document).ready(function(){
113 $("#userdownloadshelf form").on("submit",function(e){
114 if( $("#dlformat").val() == "" ){
116 alert(_("Please choose a download format"));
122 [% END # / IF fullpage %]