lazy-load evaluation errors

Closes #1362
This commit is contained in:
ajs124
2024-02-16 16:50:33 +01:00
committed by ahuston-0
parent d5fb163618
commit 17094c8371
10 changed files with 86 additions and 36 deletions

View File

@ -119,8 +119,7 @@
[% IF jobset.errormsg || jobset.fetcherrormsg %]
<div id="tabs-errors" class="tab-pane">
<p>Errors occurred at [% INCLUDE renderDateTime timestamp=(jobset.errortime || jobset.lastcheckedtime) %].</p>
<div class="card bg-light"><div class="card-body"><pre>[% HTML.escape(jobset.fetcherrormsg || jobset.errormsg) %]</pre></div></div>
<iframe src="[% c.uri_for('/jobset' project.name jobset.name "errors") %]" loading="lazy" frameBorder="0" width="100%"></iframe>
</div>
[% END %]