diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt
index eb9f65bf60..2f0fe36af2 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt
+++ b/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 %]