mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-09 03:01:18 +02:00
15 lines
571 B
Scheme
15 lines
571 B
Scheme
<div class="cms-navigator">
|
|
<a href="#" class="ss-ui-button cms-preview-toggle-link" data-icon="preview">
|
|
« <% _t('SilverStripeNavigator.Edit', 'Edit') %>
|
|
</a>
|
|
<ul class="cms-preview-states">
|
|
<% control Items %>
|
|
<li class="<% if isActive %> active<% end_if %>">$HTML
|
|
<% if WatermarkHTML %><span class="cms-preview-watermark">$WatermarkHTML</span><% end_if %>
|
|
</li>
|
|
<% end_control %>
|
|
</ul>
|
|
<a href="$Record.Link" target="_blank" class="cms-preview-popup-link">
|
|
<% _t('SilverStripeNavigator.OpenNewWindow', 'Open in new window') %>
|
|
</a>
|
|
</div> |