branch: master
commit 6db8d6c5a91512a7f83ee06eeea4707a94375ed6
Author: Ludovic Courtès <[email protected]>
AuthorDate: Wed Sep 20 11:19:38 2023 +0200

    templates: Show spec name on build page.
    
    * src/cuirass/templates.scm (build-details): Show the spec name next to
    the evaluation number.
---
 src/cuirass/templates.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm
index 4a74cdc..daf097c 100644
--- a/src/cuirass/templates.scm
+++ b/src/cuirass/templates.scm
@@ -721,7 +721,12 @@ the existing SPEC otherwise."
       (tr (th "Evaluation")
           (td (a (@ (href ,(string-append "/eval/"
                                           (number->string evaluation))))
-                 ,(number->string evaluation))))
+                 ,(number->string evaluation))
+              " ("
+              (a (@ (href ,(string-append "/jobset/"
+                                          (build-specification-name build))))
+                 ,(build-specification-name build))
+              ")"))
       (tr (th "Status")
           (td (span (@ (class ,(status-class status))
                        (title ,(status-title status)))

Reply via email to