lib/crazy_ivan/templates/index.html in crazy_ivan-1.2.1 vs lib/crazy_ivan/templates/index.html in crazy_ivan-1.2.2
- old
+ new
@@ -203,10 +203,10 @@
$("#" + domId + " .results").append(tmpl("resultTemplate", report));
$("#" + domId + " .tests").prepend(tmpl("resultLinkTemplate", report));
// add failed/success indication to link - inlining in the template screws up
- if (report.test.exit_status) {
+ if (report.test.exit_status && report.test.exit_status != '0') {
$("#" + domId + '-' + version).addClass('error');
}
});
});
}
\ No newline at end of file