summaryrefslogtreecommitdiff
path: root/templates/status.tpl
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2020-09-29 21:41:54 +0100
committerBen Hutchings <ben.hutchings@codethink.co.uk>2020-10-06 01:50:09 +0100
commit19e8f1bdf0205cc26ef7679a20c3f38b7a7cb9a7 (patch)
tree21646ef8dc6a8f82b37e07a447a8dd8243559669 /templates/status.tpl
parent2beec955ccf893fada8381aa821189aeddd6ca9b (diff)
downloadlorry-controller-19e8f1bdf0205cc26ef7679a20c3f38b7a7cb9a7.tar.gz
Add a page listing failing lorries
Provide a status page that lists only the lorries that failed to update on the last attempt. This will make it easier to spot problems that require an update to the lorry configuration. Reuse some of the existing status page logic and render the run queue with a different template. Add a link to this page from the status page. Closes #20.
Diffstat (limited to 'templates/status.tpl')
-rw-r--r--templates/status.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/status.tpl b/templates/status.tpl
index ff572de..61c3aa9 100644
--- a/templates/status.tpl
+++ b/templates/status.tpl
@@ -100,6 +100,8 @@
% if links:
<p>See separate list of <a href="/1.0/list-jobs-html">all jobs that
have ever been started</a>.</p>
+
+<p>See the list of <a href="/1.0/failures-html">failing lorries</a>.</p>
% end
<h2>Run-queue</h2>