</td> <td class="testcase_result column_0">-</td> <?php } ?> <td class="change_indicator <?php echo $differentResultsFlag ? "changed_result" : ""; ?> "></td> <td class="testcase_result <?php echo Labeler::decisionToText($result["decision_criteria_id"]); ?> column_1"> <?php echo ucfirst(str_replace("_", " ", Labeler::decisionToText($result["decision_criteria_id"]))); ?> </td> </tr> <?php $line++; ?> <?php } ?> </table> </div> <!-- /index_page --> </div> <!-- /page -->
echo $measure["label"]; ?> </td> </tr> </tbody> <tbody> <?php } ?> <?php $previousFeatureKey = $featureKey; ?> <tr class="testcase result_<?php echo Labeler::decisionToText($measure["decision_criteria_id"]); ?> "> <td class="testcase_name"><?php echo $measure["name"]; ?> </td> <td class="testcase_measurement"><?php echo $measure["complement"]; ?> </td> <?php // Prepare an array to store all measures' values $measureValues = array(); for ($i = count($previousSessions) - 1; $i >= 0; $i--) {
} else { if ($failLimit < $target) { $targetPercentage = round($value / $target * 100, 1) > 100 ? 100 : round($value / $target * 100, 1); } else { $targetPercentage = 100; } } echo $targetPercentage; ?> %</td> <td class="testcase_result <?php echo Labeler::decisionToText($measure["decision_criteria_id"]); ?> "> <span class="content"><?php echo ucfirst(Labeler::decisionToText($measure["decision_criteria_id"])); ?> </span> </td> <td class="testcase_notes"><div class="content"><?php echo $measure["comment"]; ?> </div></td> </tr> <?php } ?> </table> <?php }
echo $form["_csrf_token"]->render(); ?> <table class="detailed_results"> <thead> <tr> <th id="th_test_case">Name</th> <th id="th_result">Result</th> <th id="th_bugs">Bugs</th> <th id="th_notes">Notes</th> </tr> </thead> <tbody> <tr class="testcase result_<?php echo Labeler::decisionToText($result["decision_criteria_id"]); ?> "> <td class="testcase_name"><?php echo $result["name"]; ?> </td> <td class="testcase_result"> <span class="content"><?php echo $form["decision_criteria_id"]; ?> </span> </td> <td class="testcase_bugs"><div class="content"><?php echo $form["bugs"]->render(array("class" => "comment_field")); ?>