2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/guix-cuirass.git synced 2023-12-14 06:03:04 +01:00

Add RSS link to the evaluation page.

* src/cuirass/templates.scm (evaluation-info-table): Add RSS link.
This commit is contained in:
Mathieu Othacehe 2021-02-02 14:09:35 +01:00
parent 7cf304f754
commit 4e98cb02dd
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -458,7 +458,14 @@ system whose names start with " (code "guile-") ":" (br)
(define (evaluation-info-table name evaluations id-min id-max)
"Return HTML for the EVALUATION table NAME. ID-MIN and ID-MAX are
global minimal and maximal id."
`((p (@ (class "lead")) "Evaluations of " ,name)
`((p (@ (class "lead")) "Evaluations of " ,name
(a (@ (href "/events/rss/?specification=" ,name))
(button (@ (class "btn btn-outline-warning float-right")
(type "button"))
(span (@(class "oi oi-rss text-warning align-right")
(title "RSS")
(aria-hidden "true"))
""))))
(table
(@ (class "table table-sm table-hover table-striped"))
,@(if (null? evaluations)