forked from lix-project/hydra
jobset page: render error labels per eval
This commit is contained in:
parent
805dd6e7ee
commit
c64c4aac4f
|
@ -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>
|
||||
|
|
|
@ -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 %]
|
||||
|
|
Loading…
Reference in a new issue