@@ -, +, @@
lists private when OpacAllowPublicListCreation is off
a private list.
and that there are drop-downs for category and permissions.
Also verify that there is a warning that the patron cannot
change it back if they convert a public list to private.
category and permissions drop-downs are not displayed.
---
.../opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 13 ++++++-------
.../opac-tmpl/prog/en/modules/opac-shelves.tt | 13 ++++++-------
2 files changed, 12 insertions(+), 14 deletions(-)
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt
@@ -543,7 +543,7 @@
[% END %]
- [% IF (OpacAllowPublicListCreation) %]
+ [% IF ( OpacAllowPublicListCreation || category2 ) %]
+ [% IF ( category2 && !OpacAllowPublicListCreation ) %]
+ The library has disabled the ability for patrons to create new public lists. If you make your list private, you will not be able to make it public again.
+ [% END %]
[% INCLUDE list_permissions %]
[% END %]
- [% UNLESS ( OpacAllowPublicListCreation ) %]
- [% IF ( category2 ) %]
-
- [% ELSE %]
-
- [% END %]
+ [% UNLESS ( OpacAllowPublicListCreation || category2 ) %]
+
[% END %]
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tt
+++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tt
@@ -564,23 +564,22 @@ $(document).ready(function() {
[% IF ( sortfield == "itemcallnumber" ) %][% ELSE %][% END %]
- [% IF (OpacAllowPublicListCreation) %]
+ [% IF ( OpacAllowPublicListCreation || category2 ) %]
+ [% IF ( category2 && !OpacAllowPublicListCreation ) %]
+ The library has disabled the ability for patrons to create new public lists. If you make your list private, you will not be able to make it public again.
+ [% END %]
[% INCLUDE list_permissions %]
[% END %]
- [% UNLESS ( OpacAllowPublicListCreation ) %]
- [% IF ( category2 ) %]
-
- [% ELSE %]
-
- [% END %]
+ [% UNLESS ( OpacAllowPublicListCreation || category2 ) %]
+
[% END %]
--