Fix branch links on the repository page
Thanks to Tobias for reporting.
This commit is contained in:
parent
198b6ef719
commit
89545caa3f
1 changed files with 8 additions and 6 deletions
|
|
@ -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
|
||||||
|
"/"
|
||||||
|
(encode-and-join-uri-path
|
||||||
(list
|
(list
|
||||||
"repository"
|
"repository"
|
||||||
(number->string git-repository-id)
|
(number->string git-repository-id)
|
||||||
"branch"
|
"branch"
|
||||||
name))))
|
name)))))
|
||||||
,name))
|
,name))
|
||||||
(td ,date)
|
(td ,date)
|
||||||
(td ,@(if (string=? commit "")
|
(td ,@(if (string=? commit "")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue