Lines 235-241
Link Here
|
235 |
<div id="floating" class="sticky"> |
235 |
<div id="floating" class="sticky"> |
236 |
<div id="toolbar" class="toolbar clearfix"> |
236 |
<div id="toolbar" class="toolbar clearfix"> |
237 |
<div class="list-actions"> |
237 |
<div class="list-actions"> |
238 |
<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> |
238 |
[% IF ( Koha.Preference('OpacAllowPublicListCreation') || Koha.Preference('OpacAllowPrivateListCreation') ) %] |
|
|
239 |
<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> |
240 |
[% END %] |
239 |
|
241 |
|
240 |
<div id="download-list" class="btn-group dropdown"> |
242 |
<div id="download-list" class="btn-group dropdown"> |
241 |
<a |
243 |
<a |
Lines 568-576
Link Here
|
568 |
[% ELSE %] |
570 |
[% ELSE %] |
569 |
<div id="toolbar" class="toolbar clearfix"> |
571 |
<div id="toolbar" class="toolbar clearfix"> |
570 |
<div class="list-actions"> |
572 |
<div class="list-actions"> |
571 |
<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> |
573 |
[% IF ( Koha.Preference('OpacAllowPublicListCreation') || Koha.Preference('OpacAllowPrivateListCreation') ) %] |
|
|
574 |
<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> |
575 |
[% END %] |
572 |
[% IF can_manage_shelf %] |
576 |
[% IF can_manage_shelf %] |
573 |
<span class="sep">|</span> |
577 |
[% IF ( Koha.Preference('OpacAllowPublicListCreation') || Koha.Preference('OpacAllowPrivateListCreation') ) %] |
|
|
578 |
<span class="sep">|</span> |
579 |
[% END %] |
574 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="d-inline"> |
580 |
<form method="get" action="/cgi-bin/koha/opac-shelves.pl" class="d-inline"> |
575 |
<input type="hidden" name="op" value="edit_form" /> |
581 |
<input type="hidden" name="op" value="edit_form" /> |
576 |
<input type="hidden" name="referer" value="view" /> |
582 |
<input type="hidden" name="referer" value="view" /> |
Lines 745-751
Link Here
|
745 |
<div id="publicshelves" class="tab-pane active"> </div> |
751 |
<div id="publicshelves" class="tab-pane active"> </div> |
746 |
[% END %] |
752 |
[% END %] |
747 |
|
753 |
|
748 |
[% IF !public || Koha.Preference('OpacAllowPublicListCreation') %] |
754 |
[% IF Koha.Preference('OpacAllowPrivateListCreation') || Koha.Preference('OpacAllowPublicListCreation') %] |
749 |
[% IF loggedinusername %] |
755 |
[% IF loggedinusername %] |
750 |
<div id="toolbar" class="toolbar" |
756 |
<div id="toolbar" class="toolbar" |
751 |
><a class="btn btn-link newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form"><i class="fa fa-plus" aria-hidden="true"></i> New list</a></div |
757 |
><a class="btn btn-link newshelf" href="/cgi-bin/koha/opac-shelves.pl?op=add_form"><i class="fa fa-plus" aria-hidden="true"></i> New list</a></div |
Lines 843-849
Link Here
|
843 |
</div> |
849 |
</div> |
844 |
<!-- /.toptabs --> |
850 |
<!-- /.toptabs --> |
845 |
[% ELSIF NOT loggedinusernumber %] |
851 |
[% ELSIF NOT loggedinusernumber %] |
846 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] |
852 |
[% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference('OpacAllowPublicListCreation') || Koha.Preference('OpacAllowPrivateListCreation') ) %] |
847 |
<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> |
853 |
<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> |
848 |
[% END %] |
854 |
[% END %] |
849 |
[% END # IF op == 'add_form' OR op == 'edit_form' %] |
855 |
[% END # IF op == 'add_form' OR op == 'edit_form' %] |
850 |
- |
|
|