diff options
Diffstat (limited to 'guix-qa-frontpage/view/issue.scm')
-rw-r--r-- | guix-qa-frontpage/view/issue.scm | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/guix-qa-frontpage/view/issue.scm b/guix-qa-frontpage/view/issue.scm index 983b99b..cb10514 100644 --- a/guix-qa-frontpage/view/issue.scm +++ b/guix-qa-frontpage/view/issue.scm @@ -320,14 +320,16 @@ div.bad { ,@(if base-and-target-refs `(,lint-warnings-div ,package-changes-div) - `((div - (@ (class "bad") - (style "width: fit-content;")) - (h3 "Unable to apply " - ,(if (= 0 (length (assoc-ref series "patches"))) - "patch" - "patches")) - (pre ,create-branch-for-issue-log)))) + (if create-branch-for-issue-log + `((div + (@ (class "bad") + (style "width: fit-content;")) + (h3 "Unable to apply " + ,(if (= 0 (length (assoc-ref series "patches"))) + "patch" + "patches")) + (pre ,create-branch-for-issue-log))) + '())) ,prepare-review-section |