Skip to content

Commit 9acce42

Browse files
author
Michael Schwarz
committed
Display issues with jobs (pathological job detection)
1 parent 73b7014 commit 9acce42

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

web/frontend/src/Job.root.svelte

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,17 @@
252252
<JobInfo job={$initq.data.job} {username} {authlevel} {roles} showTagedit/>
253253
</CardBody>
254254
</TabPane>
255+
{#if $initq.data?.job?.metaData?.issues}
256+
<TabPane tabId="admin-msg" tab="Issues">
257+
<CardBody>
258+
<div>
259+
<p class="mb-2">
260+
{@html $initq.data.job.metaData.issues}
261+
</p>
262+
</div>
263+
</CardBody>
264+
</TabPane>
265+
{/if}
255266
{#if $initq.data.job.concurrentJobs != null && $initq.data.job.concurrentJobs.items.length != 0}
256267
<TabPane tabId="shared-jobs">
257268
<span slot="tab">

web/frontend/src/generic/joblist/JobInfo.svelte

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,11 @@
183183
{/each}
184184
</p>
185185
{/if}
186+
{#if job?.metaData?.issues}
187+
<p class="mb-1">
188+
More about Issues in our <a href="https://pc2.uni-paderborn.de/go/jobmon-issues">Documentation</a>.
189+
</p>
190+
{/if}
186191
</div>
187192

188193
<style>

0 commit comments

Comments
 (0)