guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Ricardo Wurmus
Date: Wed, 19 Jun 2019 03:59:17 -0400 (EDT)

branch: master
commit a11f7a4779f89d09dd50caf8f03894d80d55e20d
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jun 19 09:58:17 2019 +0200

    cuirass: Remove tabs for canceled, dependency failed, and other failed.
    
    All of them are included in "failed".
    
    * src/cuirass/http.scm (url-handler): Remove extraneous tabs.
---
 src/cuirass/http.scm | 35 +----------------------------------
 1 file changed, 1 insertion(+), 34 deletions(-)

diff --git a/src/cuirass/http.scm b/src/cuirass/http.scm
index d8af396..75201a5 100644
--- a/src/cuirass/http.scm
+++ b/src/cuirass/http.scm
@@ -383,40 +383,7 @@ Hydra format."
                                    (title "Failed")
                                    (aria-hidden "true"))
                                 "")
-                          " Failed"))
-                   (li (@ (class "nav-item"))
-                       (a (@ (class ,(string-append "nav-link "
-                                                    (match status
-                                                      ("failed-dependency" 
"active")
-                                                      (_ ""))))
-                             (href "?status=failed-dependency"))
-                          (span (@ (class "oi oi-warning text-danger")
-                                   (title "Dependency failed")
-                                   (aria-hidden "true"))
-                                "")
-                          " Dependency failed"))
-                   (li (@ (class "nav-item"))
-                       (a (@ (class ,(string-append "nav-link "
-                                                    (match status
-                                                      ("failed-other" "active")
-                                                      (_ ""))))
-                             (href "?status=failed-other"))
-                          (span (@ (class "oi oi-x text-danger")
-                                   (title "Failed")
-                                   (aria-hidden "true"))
-                                "")
-                          " Other failed"))
-                   (li (@ (class "nav-item"))
-                       (a (@ (class ,(string-append "nav-link "
-                                                    (match status
-                                                      ("canceled" "active")
-                                                      (_ ""))))
-                             (href "?status=canceled"))
-                          (span (@ (class "oi oi-question-mark text-warning")
-                                   (title "Canceled")
-                                   (aria-hidden "true"))
-                                "")
-                          " Canceled")))
+                          " Failed")))
                (div (@ (class "tab-content pt-3"))
                     (div (@ (class "tab-pane show active"))
                          ,(build-eval-table



reply via email to

[Prev in Thread] Current Thread [Next in Thread]