mirror of
git://git.savannah.gnu.org/guix/guix-cuirass.git
synced 2023-12-14 06:03:04 +01:00
Allow unconditionnal build restart.
* src/cuirass/templates.scm (build-details): Allow unconditionnal build restart.
This commit is contained in:
parent
4e0152f7a4
commit
04185edba6
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue