Fix branch links on the repository page

Thanks to Tobias for reporting.
This commit is contained in:
Christopher Baines 2022-05-20 12:18:58 +01:00
parent 198b6ef719
commit 89545caa3f

View file

@ -373,12 +373,14 @@
((name commit date revision-exists? job-events)
`(tr
(td
(a (@ (href ,(encode-and-join-uri-path
(a (@ (href ,(string-append
"/"
(encode-and-join-uri-path
(list
"repository"
(number->string git-repository-id)
"branch"
name))))
name)))))
,name))
(td ,date)
(td ,@(if (string=? commit "")