@@ -, +, @@
public lists/sharing lists is not allowed
- With OpacAllowPublicListCreation enabled, create a new list. You
should see options for setting category and permissions. Saving the
new list should complete correctly and save the right settings.
- With OpacAllowPublicListCreation enabled, edit an existing list. You
should see the same options and saving your changes should work
correctly.
- With OpacAllowPublicListCreation disabled, create a new list. You
should only see fields for title and sort. Saving this list should
complete correctly and save the right settings.
- With OpacAllowPublicListCreation disabled, edit an existing list. You
should be able to edit only title and sort settings. Saving your
changes should work correctly.
---
.../opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 42 ++++++++++++--------
.../opac-tmpl/prog/en/modules/opac-shelves.tt | 20 +++++++---
2 files changed, 41 insertions(+), 21 deletions(-)
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt
@@ -9,7 +9,7 @@
[% BLOCK list_permissions %]
-
+
-
- [% IF (OpacAllowPublicListCreation) %]
+ [% IF (OpacAllowPublicListCreation) %]
+
- [% END %]
-
- [% INCLUDE list_permissions %]
+
+ [% INCLUDE list_permissions %]
+ [% END %]
+ [% UNLESS ( OpacAllowPublicListCreation ) %]
+ [% IF ( category2 ) %]
+
+ [% ELSE %]
+
+ [% END %]
+ [% END %]
@@ -754,17 +761,20 @@ $(document).ready(function() {
+ [% IF (OpacAllowPublicListCreation) %]
[% INCLUDE list_permissions %]
+ [% END %]
+ [% UNLESS (OpacAllowPublicListCreation) %]
+
+ [% END %]