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) ((name commit date revision-exists? job-events)
`(tr `(tr
(td (td
(a (@ (href ,(encode-and-join-uri-path (a (@ (href ,(string-append
(list "/"
"repository" (encode-and-join-uri-path
(number->string git-repository-id) (list
"branch" "repository"
name)))) (number->string git-repository-id)
"branch"
name)))))
,name)) ,name))
(td ,date) (td ,date)
(td ,@(if (string=? commit "") (td ,@(if (string=? commit "")