|
Lines 260-266
Link Here
|
| 260 |
<div id="floating" class="sticky"> |
260 |
<div id="floating" class="sticky"> |
| 261 |
<div id="toolbar" class="toolbar clearfix"> |
261 |
<div id="toolbar" class="toolbar clearfix"> |
| 262 |
<div class="list-actions"> |
262 |
<div class="list-actions"> |
| 263 |
<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> |
263 |
[% IF ( Koha.Preference('OpacAllowPublicListCreation') || Koha.Preference('OpacAllowPrivateListCreation') ) %] |
|
|
264 |
<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> |
| 265 |
[% END %] |
| 264 |
|
266 |
|
| 265 |
<div id="download-list" class="btn-group dropdown"> |
267 |
<div id="download-list" class="btn-group dropdown"> |
| 266 |
<a |
268 |
<a |
|
Lines 505-513
Link Here
|
| 505 |
[% ELSE %] |
507 |
[% ELSE %] |
| 506 |
<div id="toolbar" class="toolbar clearfix"> |
508 |
<div id="toolbar" class="toolbar clearfix"> |
| 507 |
<div class="list-actions"> |
509 |
<div class="list-actions"> |
| 508 |
<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> |
510 |
[% IF ( Koha.Preference('OpacAllowPublicListCreation') || Koha.Preference('OpacAllowPrivateListCreation') ) %] |
|
|
511 |
<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> |
| 512 |
[% END %] |
| 509 |
[% IF can_manage_shelf %] |
513 |
[% IF can_manage_shelf %] |
| 510 |
<span class="sep">|</span> |
514 |
[% IF ( Koha.Preference('OpacAllowPublicListCreation') || Koha.Preference('OpacAllowPrivateListCreation') ) %] |
|
|
515 |
<span class="sep">|</span> |
| 516 |
[% END %] |
| 511 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="d-inline"> |
517 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="d-inline"> |
| 512 |
<input type="hidden" name="op" value="edit_form" /> |
518 |
<input type="hidden" name="op" value="edit_form" /> |
| 513 |
<input type="hidden" name="referer" value="view" /> |
519 |
<input type="hidden" name="referer" value="view" /> |
|
Lines 689-695
Link Here
|
| 689 |
[% END %] |
695 |
[% END %] |
| 690 |
|
696 |
|
| 691 |
[% SET show_new_list = 0 %] |
697 |
[% SET show_new_list = 0 %] |
| 692 |
[% IF !public || Koha.Preference('OpacAllowPublicListCreation') %] |
698 |
[% IF Koha.Preference('OpacAllowPrivateListCreation') || Koha.Preference('OpacAllowPublicListCreation') %] |
| 693 |
[% IF loggedinusername %] |
699 |
[% IF loggedinusername %] |
| 694 |
[% show_new_list = 1 %] |
700 |
[% show_new_list = 1 %] |
| 695 |
[% ELSE %] |
701 |
[% ELSE %] |
|
Lines 804-810
Link Here
|
| 804 |
</div> |
810 |
</div> |
| 805 |
<!-- /.toptabs --> |
811 |
<!-- /.toptabs --> |
| 806 |
[% ELSIF NOT loggedinusernumber %] |
812 |
[% ELSIF NOT loggedinusernumber %] |
| 807 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] |
813 |
[% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference('OpacAllowPublicListCreation') || Koha.Preference('OpacAllowPrivateListCreation') ) %] |
| 808 |
<div class="alert alert-info"><a href="/cgi-bin/koha/opac-shelves.pl?op=add_form">Log in to create a new list</a></div> |
814 |
<div class="alert alert-info"><a href="/cgi-bin/koha/opac-shelves.pl?op=add_form">Log in to create a new list</a></div> |
| 809 |
[% END %] |
815 |
[% END %] |
| 810 |
[% END # IF op == 'add_form' OR op == 'edit_form' %] |
816 |
[% END # IF op == 'add_form' OR op == 'edit_form' %] |
| 811 |
- |
|
|