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.
This commit is contained in:
Ricardo Wurmus 2019-06-19 09:58:17 +02:00
parent 831d73874b
commit a11f7a4779
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 1 additions and 34 deletions

View File

@ -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