mirror of
https://github.com/silverstripe/silverstripe-testsession
synced 2024-10-22 14:06:00 +02:00
72b48f4c38
- Allow limited state setting when session is already in progress - Allow test sessions without a test database - Denote an “in progress” session through a “testsession.started” session flag rather than the usage of a temporary database
10 lines
279 B
Scheme
10 lines
279 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 %> |