diff --git a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_TreeView.ss b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_TreeView.ss index bad37c6c..888d85aa 100644 --- a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_TreeView.ss +++ b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_TreeView.ss @@ -6,31 +6,12 @@ $ExtraTreeTools -
- <% if $TreeIsFiltered %> -
- <% _t('CMSMain.TreeFiltered', 'Showing search results.') %> - - <% _t('CMSMain.TreeFilteredClear', 'Clear') %> - - -
- $SiteTreeAsUL -
-
- - <% else %> +<% if $TreeIsFiltered %> +
+ <% _t('CMSMain.TreeFiltered', 'Showing search results.') %> + + <% _t('CMSMain.TreeFilteredClear', 'Clear') %> +
$SiteTreeAsUL
- - <% end_if %>
+ +<% else %> + +
+ $SiteTreeAsUL +
+ +<% end_if %>