diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
index d9fa631724..adef582af4 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
@@ -37,28 +37,27 @@
[% END %]
- [% IF shelf.allow_change_from_others %]
-
+ [% IF shelf.allow_change_from_permitted_staff %]
+
[% ELSE %]
-
+
[% END %]
-
[% IF shelf.allow_change_from_staff %]
[% ELSE %]
[% END %]
- [% IF shelf.allow_change_from_permitted_staff %]
-
+ [% IF shelf.allow_change_from_others %]
+
[% ELSE %]
-
+
[% END %]
- The Anyone permission has no actual effect while this list is strictly private.
- The Staff only permission has no actual effect while this list is strictly private.The Permitted staff only permission has no actual effect while this list is strictly private.
+ The Staff only permission has no actual effect while this list is strictly private.
+ The Anyone permission has no actual effect while this list is strictly private.
[% END %]
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 79d86f74b8..5c8a8fe695 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt
@@ -48,15 +48,17 @@
[% END %]
- [% IF shelf.allow_change_from_others %][% ELSE %][% END %]
-
- [% IF staffuser == 1 %][% IF shelf.allow_change_from_staff %][% ELSE %][% END %][% END %]
[% IF permitteduser == 1 %][% IF shelf.allow_change_from_permitted_staff %][% ELSE %][% END %][% END %]
+ [% IF staffuser == 1 %][% IF shelf.allow_change_from_staff %][% ELSE %][% END %][% END %]
+
+ [% IF shelf.allow_change_from_others %][% ELSE %][% END %]
+
+
- The "Anyone" permission has no actual effect while this list is strictly private.
+ The "Permitted staff only" permission has no actual effect while this list is strictly private.The "Staff only" permission has no actual effect while this list is strictly private.
- The "Permitted staff only" permission has no actual effect while this list is strictly private.
+ The "Anyone" permission has no actual effect while this list is strictly private.
[% END %]