jobset page: render error labels per eval

This commit is contained in:
Graham Christensen 2021-01-21 12:59:03 -05:00
parent 805dd6e7ee
commit c64c4aac4f
No known key found for this signature in database
GPG key ID: FE918C3A98C1030F
2 changed files with 14 additions and 0 deletions

View file

@ -476,6 +476,9 @@ BLOCK renderEvals %]
ELSE %]
-
[% END %]
[% IF eval.errormsg %]
<span class="label label-warning">Eval Errors</span>
[% END %]
</td>
<td align='right' class="nowrap">
<span class="label label-success">[% e.nrSucceeded %]</span>

View file

@ -88,6 +88,11 @@ c.uri_for(c.controller('JobsetEval').action_for('view'),
<li><a href="#tabs-unfinished" data-toggle="tab">Queued jobs ([% unfinished.size %])</a></li>
[% END %]
<li><a href="#tabs-inputs" data-toggle="tab">Inputs</a></li>
[% IF eval.errormsg %]
<li><a href="#tabs-errors" data-toggle="tab"><span class="text-warning">Evaluation errors</span></a></li>
[% END %]
</ul>
[% BLOCK renderSome %]
@ -167,6 +172,12 @@ c.uri_for(c.controller('JobsetEval').action_for('view'),
[% END %]
</div>
[% IF eval.errormsg %]
<div id="tabs-errors" class="tab-pane">
<p>Errors occurred at [% INCLUDE renderDateTime timestamp=(eval.errortime || eval.timestamp) %].</p>
<pre class="alert alert-error">[% HTML.escape(eval.errormsg) %]</pre>
</div>
[% END %]
</div>
[% END %]