Skip to content
Snippets Groups Projects
Commit 80b6e89a authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

templates: Failed evaluations link to their log.

* src/cuirass/templates.scm (evaluation-badges): Link to
/eval/ID/log/raw in the 'zero?' case.
parent c8c34f8e
No related branches found
No related tags found
No related merge requests found
......@@ -257,10 +257,11 @@
;; an evaluation failed, assume that it failed when it produced zero
;; build jobs.
(if (zero? (+ succeeded failed scheduled))
`((span (@ (class "oi oi-x text-danger")
(title "Failed")
(aria-hidden "true"))
""))
`((a (@ (href "/eval/" ,(assq-ref evaluation #:id) "/log/raw")
(class "oi oi-x text-danger")
(title "Failed")
(aria-hidden "true"))
""))
`((a (@ (href "/eval/" ,(assq-ref evaluation #:id) "?status=succeeded")
(class "badge badge-success")
(title "Succeeded"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment