guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: Fix dependencies display.


From: Mathieu Othacehe
Subject: branch master updated: Fix dependencies display.
Date: Fri, 28 May 2021 06:30:23 -0400

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix-cuirass.

The following commit(s) were added to refs/heads/master by this push:
     new 5e198ff  Fix dependencies display.
5e198ff is described below

commit 5e198ffb2cd2e8e9d7313d33c4e6e849b4867461
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Fri May 28 12:30:01 2021 +0200

    Fix dependencies display.
    
    * src/cuirass/templates.scm (build-details): Fix dependencies display.
---
 src/cuirass/templates.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm
index bccddc4..fb83fda 100644
--- a/src/cuirass/templates.scm
+++ b/src/cuirass/templates.scm
@@ -735,13 +735,13 @@ the existing SPEC otherwise."
            (@ (class "dependencies"))
            ,@(let ((dependencies
                     (assq-ref build #:builddependencies))
-                   (max-items 9))
+                   (max-items 10))
                (if (> (length dependencies) 0)
                    `(,(map (lambda (id index)
                              (let* ((build (find-dependency id))
                                     (status (assoc-ref build #:status)))
                                `((div
-                                  ,@(if (> index max-items)
+                                  ,@(if (> index (1- max-items))
                                         '((@ (class "collapse collapse-dep")))
                                         '())
                                   (span (@ (class ,(status-class status))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]