2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/guix-cuirass.git synced 2024-12-29 11:40:16 +01:00

templates: Show “Activate” button for deactivated jobsets.

* src/cuirass/templates.scm (evaluation-info-table): Add “Activate”
button.
This commit is contained in:
Ludovic Courtès 2024-06-05 00:34:31 +02:00
parent f35b94e551
commit c326f6ccbb
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1086,7 +1086,12 @@ NAME have been checked; it is #f when that information is unavailable."
,(time->string time) "."))
(_ ""))
`(div (@ (class "alert alert-danger"))
"This jobset is currently disabled."))
"This jobset is currently disabled. "
(a (@ (class "btn btn-info")
(href ,(string-append
"/admin/specifications/activate/"
name)))
"Activate")))
(table
(@ (class "table table-sm table-hover table-striped"))