diff options
Diffstat (limited to 'templates/lorry.tpl')
-rw-r--r-- | templates/lorry.tpl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/lorry.tpl b/templates/lorry.tpl index fad85cd..7c475e0 100644 --- a/templates/lorry.tpl +++ b/templates/lorry.tpl @@ -40,5 +40,30 @@ <p>Updated: {{timestamp}}</p> +<h2>Failed jobs for this Lorry</h2> + +% if lorry['failed_jobs']: +<p> +% for job_id in lorry['failed_jobs']: +<a href="/1.0/job-html/{{job_id}}">{{job_id}}</a> +% end +</p> +% else: +<p>No failed jobs.</p> +% end + +<h2>All jobs for this lorry</h2> + +% if lorry['jobs']: +<p> +% for job_id in lorry['jobs']: +<a href="/1.0/job-html/{{job_id}}">{{job_id}}</a> +% end +</p> +% else: +<p>No jobs.</p> +% end + + </body> </html> |