jobset page: render error labels per eval
This commit is contained in:
parent
805dd6e7ee
commit
c64c4aac4f
|
@ -476,6 +476,9 @@ BLOCK renderEvals %]
|
||||||
ELSE %]
|
ELSE %]
|
||||||
-
|
-
|
||||||
[% END %]
|
[% END %]
|
||||||
|
[% IF eval.errormsg %]
|
||||||
|
<span class="label label-warning">Eval Errors</span>
|
||||||
|
[% END %]
|
||||||
</td>
|
</td>
|
||||||
<td align='right' class="nowrap">
|
<td align='right' class="nowrap">
|
||||||
<span class="label label-success">[% e.nrSucceeded %]</span>
|
<span class="label label-success">[% e.nrSucceeded %]</span>
|
||||||
|
|
|
@ -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>
|
<li><a href="#tabs-unfinished" data-toggle="tab">Queued jobs ([% unfinished.size %])</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
<li><a href="#tabs-inputs" data-toggle="tab">Inputs</a></li>
|
<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>
|
</ul>
|
||||||
|
|
||||||
[% BLOCK renderSome %]
|
[% BLOCK renderSome %]
|
||||||
|
@ -167,6 +172,12 @@ c.uri_for(c.controller('JobsetEval').action_for('view'),
|
||||||
[% END %]
|
[% END %]
|
||||||
</div>
|
</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>
|
</div>
|
||||||
|
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
Loading…
Reference in a new issue