diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-06-19 09:58:17 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-06-19 09:58:17 +0200 |
commit | a11f7a4779f89d09dd50caf8f03894d80d55e20d (patch) | |
tree | 4faa5d8edab053c53d646bc881129f58edf910ec | |
parent | 831d73874bbaaaf770e87f2e80169d4ff6ed9516 (diff) | |
download | cuirass-a11f7a4779f89d09dd50caf8f03894d80d55e20d.tar cuirass-a11f7a4779f89d09dd50caf8f03894d80d55e20d.tar.gz |
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.
-rw-r--r-- | src/cuirass/http.scm | 35 |
1 files changed, 1 insertions, 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 |