Show whether a job still exists
In the dashboard and on the job page, indicate whether the job appears in the latest jobset eval. That way, the user gets some indication if a job has accidentally disappeared (e.g. due to an evaluation error).
This commit is contained in:
@@ -5,6 +5,13 @@
|
||||
[% PROCESS common.tt %]
|
||||
[% hideProjectName=1 hideJobsetName=1 hideJobName=1 %]
|
||||
|
||||
[% IF !jobExists(job) %]
|
||||
<div class="alert alert-warning">This job is not a member of the <a
|
||||
href="[%c.uri_for('/jobset' project.name jobset.name
|
||||
'evals')%]">latest evaluation</a> of its jobset. This means it was
|
||||
removed or had an evaluation error.</div>
|
||||
[% END %]
|
||||
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a href="#tabs-status" data-toggle="tab">Status</a></li>
|
||||
[% IF constituentJobs.size > 0 %]
|
||||
|
Reference in New Issue
Block a user