silverstripe-testsession/templates/Includes/TestSession_State.ss

11 lines
286 B
Scheme
Raw Normal View History

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