Only show preview switch if states are available

We've removed all states from RedirectorPage in order to disable the redirect.
This commit is contained in:
Ingo Schommer 2013-01-09 21:43:10 +01:00
parent 80ee913f26
commit 76e233de70

View File

@ -19,6 +19,7 @@
</select>
</span>
<% if Items %>
<% if Items.Count < 5 %>
<fieldset id="preview-states" class="cms-preview-states switch-states size_{$Items.Count}">
<div class="switch">
@ -40,4 +41,5 @@
</select>
</span>
<% end_if %>
<% end_if %>
</div>