branch: main
commit b68a22dad6f7c04015c73c41796c29369de7d0ee
Author: Ludovic Courtès <l...@gnu.org>
AuthorDate: Thu Dec 26 14:59:41 2024 +0100

    templates: Really distinguish pull requests in spec list.
    
    This is a followup to 774113d13bf6df5bc5d8c5b409ad51add91f4013.
    
    * src/cuirass/templates.scm (specifications-table): Move
    “text-secondary”/“text-primary” class to the ‘a’ tag instead of ‘td’.
---
 src/cuirass/templates.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm
index 8e4da3f..b15830b 100644
--- a/src/cuirass/templates.scm
+++ b/src/cuirass/templates.scm
@@ -381,11 +381,13 @@ system whose names start with " (code "guile-") ":" (br)
                  (lambda (spec)
                    `(tr
                      (td
-                      (@ (class ,(if (pull-request? spec)
-                                     "text-secondary"
-                                     "text-primary")))
+                      (@ (class "column-name"))
                       (a (@ (href "/jobset/"
-                                  ,(uri-encode (symbol->string 
(specification-name spec)))))
+                                  ,(uri-encode (symbol->string
+                                                (specification-name spec))))
+                            (class ,(if (pull-request? spec)
+                                        "text-secondary"
+                                        "text-primary")))
                          ,(symbol->string (specification-name spec))))
                      (td
                       (@ (class "column-build"))

Reply via email to