Commit e5438677 authored by Eva Schiffer's avatar Eva Schiffer
Browse files

mention if a comparison passed or failed on the variable report page

parent 7f2865a8
......@@ -72,7 +72,36 @@ Copyright (c) 2011 University of Wisconsin SSEC. All rights reserved.
<%block name="comparisonSummary">
<h3>Comparison Information</h3>
## if we were testing pass/fail, give the result of that
<%
didPass = runInfo[constants.DID_VARIABLE_PASS_KEY]
%>
% if didPass is not None :
<table>
<tr>
<td>
<big>
% if didPass :
This variable passed comparison.
% else :
This variable failed comparison.
% endif
</big>
</td>
<td>
<big>
% if didPass :
<div class="testpass">✔</div>
% else :
<div class="testfail">✘</div>
% endif
</big>
</td>
</tr>
</table>
% endif
## comparison parameters
<p>
## display the variable names
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment