silverstripe-framework/tests/php/View/SSViewerTest/templates/RequirementsTest_Conditionals.ss

10 lines
334 B
Scheme
Raw Normal View History

<% if $FailTest %>
2016-10-14 03:30:05 +02:00
<% require themedCss(RequirementsTest_a) %>
<% require themedJavascript(RequirementsTest_b) %>
<% require themedJavascript(RequirementsTest_c) %>
<% else %>
2016-10-14 03:30:05 +02:00
<% require themedJavascript(RequirementsTest_a) %>
<% require themedCss(RequirementsTest_b) %>
<% require themedCss(RequirementsTest_c) %>
<% end_if %>