aboutsummaryrefslogtreecommitdiff
path: root/guix-qa-frontpage/view
diff options
context:
space:
mode:
Diffstat (limited to 'guix-qa-frontpage/view')
-rw-r--r--guix-qa-frontpage/view/issue.scm27
1 files changed, 26 insertions, 1 deletions
diff --git a/guix-qa-frontpage/view/issue.scm b/guix-qa-frontpage/view/issue.scm
index 5c2252c..9064832 100644
--- a/guix-qa-frontpage/view/issue.scm
+++ b/guix-qa-frontpage/view/issue.scm
@@ -13,7 +13,8 @@
comparison-link
derivation-changes-counts
builds-missing?
- change-details comparison-details)
+ change-details comparison-details
+ systems-with-low-substitute-availability)
(define* (package-derivations-comparison-link system
#:key build-change)
@@ -197,6 +198,30 @@ td.bad {
(div
(h3 "Package changes")
+
+ ,@(if (or (not builds-missing?)
+ (eq? #f systems-with-low-substitute-availability)
+ (null? systems-with-low-substitute-availability))
+ '()
+ `((p (@ (style ,(string-join
+ '("text-align: center;"
+ "font-weight: bold;"
+ "padding: 1rem;"
+ "max-width: 46rem;"
+ "border-width: 0.35em;"
+ "border-style: dashed;"
+ "border-color: red"))))
+ "Builds for this patch series not yet submitted as "
+ (a (@ (href "/branch/master"))
+ "master branch substitute availability")
+ " is low for: "
+ ,@(append-map
+ (lambda (system)
+ `((span (@ (style "font-family: monospace; white-space: nowrap;"))
+ ,system
+ " ")))
+ systems-with-low-substitute-availability))))
+
(table
(@ (style "border-collapse: collapse;"))
(thead