mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
NEW Hide subsite selector dropdown if no subsites have been created yet
Note that "Main site" is always included in the list of subsites, even though it is not an actual record
This commit is contained in:
parent
aae3e655c4
commit
21f4d80ef2
@ -5,7 +5,7 @@
|
||||
<% include SilverStripe\\Admin\\LeftAndMain_MenuLogo %>
|
||||
<% include SilverStripe\\Admin\\LeftAndMain_MenuStatus %>
|
||||
|
||||
<% if $ListSubsites %>
|
||||
<% if $ListSubsites.Count > 1 %>
|
||||
<% include SilverStripe\\Subsites\\Controller\\SubsiteXHRController_subsitelist %>
|
||||
<% end_if %>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user