From c64c4aac4f8bb60b267128bafe4348f8b97cb799 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 21 Jan 2021 12:59:03 -0500 Subject: [PATCH] jobset page: render error labels per eval --- src/root/common.tt | 3 +++ src/root/jobset-eval.tt | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/src/root/common.tt b/src/root/common.tt index bc777ede..8d4f4f70 100644 --- a/src/root/common.tt +++ b/src/root/common.tt @@ -476,6 +476,9 @@ BLOCK renderEvals %] ELSE %] - [% END %] + [% IF eval.errormsg %] + Eval Errors + [% END %] [% e.nrSucceeded %] diff --git a/src/root/jobset-eval.tt b/src/root/jobset-eval.tt index 99cc3720..139ee2fe 100644 --- a/src/root/jobset-eval.tt +++ b/src/root/jobset-eval.tt @@ -88,6 +88,11 @@ c.uri_for(c.controller('JobsetEval').action_for('view'),
  • Queued jobs ([% unfinished.size %])
  • [% END %]
  • Inputs
  • + + [% IF eval.errormsg %] +
  • Evaluation errors
  • + [% END %] + [% BLOCK renderSome %] @@ -167,6 +172,12 @@ c.uri_for(c.controller('JobsetEval').action_for('view'), [% END %] + [% IF eval.errormsg %] +
    +

    Errors occurred at [% INCLUDE renderDateTime timestamp=(eval.errortime || eval.timestamp) %].

    +
    [% HTML.escape(eval.errormsg) %]
    +
    + [% END %] [% END %]