|
|
@@ -28,6 +28,7 @@
|
|
|
|
|
|
$is_assigned = $test->status == Test::STATUS_ASSIGNED;
|
|
|
$is_confirmed = $test->status == Test::STATUS_CONFIRMED;
|
|
|
+ $is_started = $test->status == Test::STATUS_STARTED;
|
|
|
$is_unverified = $test->status == Test::STATUS_PENDING_VERIFICATION;
|
|
|
|
|
|
$status_text = $test->getStatusText();
|
|
|
@@ -63,6 +64,11 @@
|
|
|
<a class="btn btn-outline-primary" href="/account/tests/<?=$test->id?>">Begin</a>
|
|
|
<?php
|
|
|
}
|
|
|
+ else if($is_started) {
|
|
|
+ ?>
|
|
|
+ <a class="btn btn-outline-primary" href="/account/tests/<?=$test->id?>">Continue</a>
|
|
|
+ <?php
|
|
|
+ }
|
|
|
else if($is_unverified) {
|
|
|
?>
|
|
|
<a class="btn btn-outline-primary" href="/account/tests/<?=$test->id?>">Amend</a>
|