@@ -193,6 +193,7 @@ class LocationHelper {
"tester" => null,
"pastDue" => $past_due,
"passed" => $test->isPass(),
+ "resultText" => $test->getPassText(),
];
if($tester) {
@@ -206,6 +206,9 @@ function displayInfoWindow(marker) {
if(location.test.formattedDueDts) {
lines.push({title: "Due", text: location.test.formattedDueDts});
}
+ if(location.test) {
+ lines.push({title: "Result", text: location.test.resultText});
+ }
let linesHtml = "";
@@ -370,6 +370,10 @@ function addMarkerClickListenerForLocation(marker, location) {
content += '<div class="small"><strong>Due:</strong> ' + location.test.formattedDueDts + ' ' + pastDueBadge + '</div>';
+ content += '<div class="small"><strong>Result:</strong> ' + location.test.resultText + '</div>';
+
if(typeof location.testCount !== "undefined") {