Lines 283-289
Link Here
|
283 |
<thead> |
283 |
<thead> |
284 |
<tr> |
284 |
<tr> |
285 |
[% IF (StaffDetailItemSelection) %]<th id="[% tab | html %]_checkbox" data-colname="[% tab | html %]_checkbox" class="NoSort"></th>[% END %] |
285 |
[% IF (StaffDetailItemSelection) %]<th id="[% tab | html %]_checkbox" data-colname="[% tab | html %]_checkbox" class="NoSort"></th>[% END %] |
286 |
[% IF ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] |
286 |
[% IF Koha.Preference('LocalCoverImages') && ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] |
287 |
<th id="[% tab | html %]_cover" data-colname="[% tab | html %]_cover">Cover image</th> |
287 |
<th id="[% tab | html %]_cover" data-colname="[% tab | html %]_cover">Cover image</th> |
288 |
[% END %] |
288 |
[% END %] |
289 |
[% IF ( item_level_itypes ) %]<th id="[% tab | html %]_itype" data-colname="[% tab | html %]_itype">Item type</th>[% END %] |
289 |
[% IF ( item_level_itypes ) %]<th id="[% tab | html %]_itype" data-colname="[% tab | html %]_itype">Item type</th>[% END %] |
Lines 324-330
Link Here
|
324 |
<input type="checkbox" value="[% item.itemnumber | html %]" name="itemnumber" /> |
324 |
<input type="checkbox" value="[% item.itemnumber | html %]" name="itemnumber" /> |
325 |
</td> |
325 |
</td> |
326 |
[% END %] |
326 |
[% END %] |
327 |
[% IF ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] |
327 |
[% IF Koha.Preference('LocalCoverImages') && ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] |
328 |
<td class="cover"> |
328 |
<td class="cover"> |
329 |
<div class="bookcoverimg"> |
329 |
<div class="bookcoverimg"> |
330 |
<div class="cover-slider"> |
330 |
<div class="cover-slider"> |
Lines 550-561
Note that permanent location is a code, and location may be an authval.
Link Here
|
550 |
[% IF CAN_user_editcatalogue_edit_items %] |
550 |
[% IF CAN_user_editcatalogue_edit_items %] |
551 |
<td class="actions"> |
551 |
<td class="actions"> |
552 |
[% UNLESS item.cannot_be_edited %] |
552 |
[% UNLESS item.cannot_be_edited %] |
553 |
<div class="btn-group"> |
553 |
[% IF Koha.Preference('LocalCoverImages') OR Koha.Preference('OPACLocalCoverImages') %] |
554 |
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber | html %]&itemnumber=[% item.itemnumber | html %]#edititem"><i class="fa fa-pencil"></i> Edit</a><a class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a> |
554 |
<div class="btn-group"> |
555 |
<ul class="dropdown-menu pull-right"> |
555 |
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber | html %]&itemnumber=[% item.itemnumber | html %]#edititem"><i class="fa fa-pencil"></i> Edit</a><a class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a> |
556 |
<li><a href="/cgi-bin/koha/tools/upload-cover-image.pl?itemnumber=[% item.itemnumber | uri %]&filetype=image"><i class="fa fa-upload"></i> Upload image</a></li> |
556 |
<ul class="dropdown-menu pull-right"> |
557 |
</ul> |
557 |
<li><a href="/cgi-bin/koha/tools/upload-cover-image.pl?itemnumber=[% item.itemnumber | uri %]&filetype=image"><i class="fa fa-upload"></i> Upload image</a></li> |
558 |
</div> |
558 |
</ul> |
|
|
559 |
</div> |
560 |
[% ELSE %] |
561 |
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber | html %]&itemnumber=[% item.itemnumber | html %]#edititem"><i class="fa fa-pencil"></i> Edit</a> |
562 |
[% END %] |
559 |
[% END %] |
563 |
[% END %] |
560 |
</td> |
564 |
</td> |
561 |
[% END %] |
565 |
[% END %] |