[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Allow unconditionnal build restart.
From: |
Mathieu Othacehe |
Subject: |
branch master updated: Allow unconditionnal build restart. |
Date: |
Thu, 18 Feb 2021 08:58:08 -0500 |
This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch master
in repository guix-cuirass.
The following commit(s) were added to refs/heads/master by this push:
new 04185ed Allow unconditionnal build restart.
04185ed is described below
commit 04185edba678913aa39fc5eaa02cfae65d09ed33
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Thu Feb 18 14:57:42 2021 +0100
Allow unconditionnal build restart.
* src/cuirass/templates.scm (build-details): Allow unconditionnal build
restart.
---
src/cuirass/templates.scm | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm
index 1ff0689..c9294e3 100644
--- a/src/cuirass/templates.scm
+++ b/src/cuirass/templates.scm
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Allow unconditionnal build restart.,
Mathieu Othacehe <=