diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm index 1812820..f315ab9 100644 --- a/src/cuirass/templates.scm +++ b/src/cuirass/templates.scm @@ -774,13 +774,15 @@ the existing SPEC otherwise." (td ,(if (completed? status) (time->string (build-completion-time build)) "—"))) - (tr (th "Weather") - (td (span (@ (class ,(weather-class weather)) - (title ,(weather-title weather)) - (aria-hidden "true")) - "") - " " ,(weather-title weather) - ,@(build-failure-info build))) + ,@(if (= (build-weather unknown) weather) + '() + `((tr (th "Weather") + (td (span (@ (class ,(weather-class weather)) + (title ,(weather-title weather)) + (aria-hidden "true")) + "") + " " ,(weather-title weather) + ,@(build-failure-info build))))) (tr (th "Log file") (td ,(if (or (= (build-status started) status) (= (build-status succeeded) status)