mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
77ec21fe9d
Was inferred by the containing file previously, which is deprecated behaviour, because it obscures the fact that renaming an template file or copying template code will change the context of the translations. While it would be nice to use shorter and more readable namespaces, this change would remove all existing translations. Since there is no (easy) migration of entities to a new namespace, having verbose template code is the lesser of two evils.
15 lines
727 B
Scheme
15 lines
727 B
Scheme
<div class="cms-tree-view-modes">
|
|
<span><% _t("TreeTools.DisplayLabel","Display:") %></span>
|
|
<% if CanOrganiseSitetree %>
|
|
<div class="checkboxAboveTree">
|
|
<input type="radio" name="view-mode" class="view-mode" value="draggable" id="view-mode-draggable" checked="checked" />
|
|
<label for="view-mode-draggable"><% _t("CMSPagesController_ContentToolbar.ss.ENABLEDRAGGING","Drag'n'drop") %></label>
|
|
</div>
|
|
<% end_if %>
|
|
<div>
|
|
<input type="radio" name="view-mode" class="view-mode" value="multiselect" id="view-mode-multiselect" />
|
|
<label for="view-mode-multiselect"><% _t("CMSPagesController_ContentToolbar.ss.MULTISELECT","Multi-selection") %></label>
|
|
</div>
|
|
</div>
|
|
<% include CMSPagesController_ContentToolActions %>
|