Lines 222-227
Link Here
|
222 |
<div class="list-actions"> |
222 |
<div class="list-actions"> |
223 |
<a class="btn btn-link newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form"><i class="fa fa-fw fa-plus" aria-hidden="true"></i> New list</a> <span class="sep">|</span> |
223 |
<a class="btn btn-link newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form"><i class="fa fa-fw fa-plus" aria-hidden="true"></i> New list</a> <span class="sep">|</span> |
224 |
|
224 |
|
|
|
225 |
[% SET export_options = Koha.Preference('OpacExportOptions').split(',') %] |
225 |
<div id="download-list" class="btn-group dropdown"> |
226 |
<div id="download-list" class="btn-group dropdown"> |
226 |
<a id="format" class="btn btn-link dropdown-toggle" data-toggle="dropdown" href="/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=[% shelf.shelfnumber | html %]"><i class="fa fa-fw fa-download" aria-hidden="true"></i> Download <b class="caret"></b></a> |
227 |
<a id="format" class="btn btn-link dropdown-toggle" data-toggle="dropdown" href="/cgi-bin/koha/opac-downloadshelf.pl?shelfnumber=[% shelf.shelfnumber | html %]"><i class="fa fa-fw fa-download" aria-hidden="true"></i> Download <b class="caret"></b></a> |
227 |
<div class="dropdown-menu pull-left" role="menu" aria-labelledby="format"> |
228 |
<div class="dropdown-menu pull-left" role="menu" aria-labelledby="format"> |
Lines 232-237
Link Here
|
232 |
[% FOREACH csv_profile IN csv_profiles %] |
233 |
[% FOREACH csv_profile IN csv_profiles %] |
233 |
<a role="menuitem" class="dropdown-item download-list" data-format="[% csv_profile.export_format_id | html %]" href="#">CSV - [% csv_profile.profile | html %]</a> |
234 |
<a role="menuitem" class="dropdown-item download-list" data-format="[% csv_profile.export_format_id | html %]" href="#">CSV - [% csv_profile.profile | html %]</a> |
234 |
[% END %] |
235 |
[% END %] |
|
|
236 |
[% FOREACH option IN export_options %] |
237 |
[% IF option == 'custom' %] |
238 |
[% FOREACH xsl_export IN xsl_exports %] |
239 |
<a role="menuitem" class="dropdown-item" href="/cgi-bin/koha/opac-downloadshelf.pl?format=xsl.[% xsl_export.value | uri %]&file=[% xsl_export.value | uri %]&shelfnumber=[% shelf.shelfnumber | uri %]">XSL - [% xsl_export.filename | html %]</a></li> |
240 |
[% END %] |
241 |
[% END %] |
242 |
[% END %] |
235 |
</div> |
243 |
</div> |
236 |
</div> |
244 |
</div> |
237 |
|
245 |
|