@@ -, +, @@ 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 | 38 +++++++++++--------- .../opac-tmpl/prog/en/modules/opac-shelves.tt | 16 ++++++--- 2 files changed, 33 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 ) %] + + [% END %]
    - + [% IF ( showprivateshelves ) %] Cancel [% ELSE %] @@ -726,16 +729,19 @@
  • - - -
  • - [% INCLUDE list_permissions %] + [% IF (OpacAllowPublicListCreation) %] + + + + [% INCLUDE list_permissions %] + [% END %] + [% UNLESS (OpacAllowPublicListCreation) %] + + [% END %]
    --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tt +++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tt @@ -214,7 +214,7 @@ $(document).ready(function() { [% BLOCK list_permissions %]
  • - +
  • + [% IF (OpacAllowPublicListCreation) %]
  • - [% IF (OpacAllowPublicListCreation) %] - [% END %]
  • [% INCLUDE list_permissions %] + [% END %] + [% UNLESS ( OpacAllowPublicListCreation ) %] + + [% END %]
    [% IF ( showprivateshelves ) %]Cancel[% ELSE %]Cancel[% END %]
    @@ -754,17 +757,20 @@ $(document).ready(function() { + [% IF (OpacAllowPublicListCreation) %]
  • [% INCLUDE list_permissions %] + [% END %] + [% UNLESS (OpacAllowPublicListCreation) %] + + [% END %]
    --