Ver Fonte

Hide stage on location tests table on void tests

Alan Lam há 1 ano atrás
pai
commit
91bf43c8a8
1 ficheiros alterados com 6 adições e 1 exclusões
  1. 6 1
      views/location_tests_tab.php

+ 6 - 1
views/location_tests_tab.php

@@ -95,7 +95,12 @@ $tests = $location->getCompletedTests();
                     <td>
                     <?php
                     if($has_pass_fail) {
-                        if($test->isPending()) {
+						if($test->isVoid()) {
+							?>
+							<strong><?=htmlspecialchars(__("Void"))?></strong>
+							<?php
+						}
+                        elseif($test->isPending()) {
                             ?>
                             <?=htmlspecialchars(__("Pending"))?>
                             <?php