Skip to content
Snippets Groups Projects
Commit 28cb0436 authored by Chris Sangwin's avatar Chris Sangwin
Browse files

Add in icon to testing script.

parent 27a756bf
No related branches found
No related tags found
No related merge requests found
...@@ -185,9 +185,16 @@ if (!$question->has_random_variants()) { ...@@ -185,9 +185,16 @@ if (!$question->has_random_variants()) {
if ($qn->get_question_summary() == $question->get_question_summary()) { if ($qn->get_question_summary() == $question->get_question_summary()) {
$variantdeployed = true; $variantdeployed = true;
} }
$iconurl = '';
if ($bulktestresults[0]) {
$iconurl = " <img src=\"" . $OUTPUT->pix_url('t/' . 'check') . "\" alt=\"\" />";
}
$notestable->data[] = array( $notestable->data[] = array(
$choice, $choice,
stack_ouput_castext($qn->get_question_summary()), stack_ouput_castext($qn->get_question_summary()),
$iconurl,
$bulktestresults[1] $bulktestresults[1]
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment