Skip to content
Snippets Groups Projects
Unverified Commit 04185edb authored by Mathieu Othacehe's avatar Mathieu Othacehe
Browse files

Allow unconditionnal build restart.

* src/cuirass/templates.scm (build-details): Allow unconditionnal build
restart.
parent 4e0152f7
No related branches found
No related tags found
No related merge requests found
......@@ -293,21 +293,19 @@ system whose names start with " (code "guile-") ":" (br)
(td ,(time->string (assq-ref build #:stoptime)))))
`((p (@ (class "lead")) "Build details"
,@(if (>= status 0)
`((div (@ (class "dropdown float-right"))
(a (@ (class "btn btn-warning dropdown-toggle")
(href "#")
(data-toggle "dropdown")
(role "button")
(aria-haspopup "true")
(aria-expanded "false"))
"Action")
(div (@ (class "dropdown-menu"))
(a (@ (class "dropdown-item")
(href "/admin/build/"
,(assq-ref build #:id) "/restart"))
"Restart"))))
'()))
(div (@ (class "dropdown float-right"))
(a (@ (class "btn btn-warning dropdown-toggle")
(href "#")
(data-toggle "dropdown")
(role "button")
(aria-haspopup "true")
(aria-expanded "false"))
"Action")
(div (@ (class "dropdown-menu"))
(a (@ (class "dropdown-item")
(href "/admin/build/"
,(assq-ref build #:id) "/restart"))
"Restart"))))
(table
(@ (class "table table-sm table-hover"))
(tbody
......
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