silverstripe-testsession/templates/Includes/TestSession_State.ss
2017-04-26 15:59:54 +12:00

11 lines
286 B
Scheme

<% if $State %>
<p>
<a href="#" onclick="document.getElementById('state').style.display = 'block'; return false;">Show testing state</a>
<ul id="state" style="display: none;">
<% loop $State %>
<li><strong>$Name:</strong> $Value</li>
<% end_loop %>
</ul>
</p>
<% end_if %>