mirror of
git://git.savannah.gnu.org/guix/data-service.git
synced 2023-12-14 03:23:03 +01:00
Neaten up how branches in Git repositories are linked to
This commit is contained in:
parent
a2caa3ea30
commit
08d9cbbfe3
1 changed files with 13 additions and 7 deletions
|
@ -388,13 +388,19 @@
|
|||
,@(map
|
||||
(match-lambda
|
||||
((name datetime)
|
||||
(if (string-null? cgit-url-base)
|
||||
`(,name " at " ,datetime)
|
||||
`(a (@ (href ,(string-append
|
||||
`(div
|
||||
(a (@ (href ,(string-append "/repository/" id
|
||||
"/branch/" name)))
|
||||
,name)
|
||||
" at " ,datetime
|
||||
,@(if (string-null? cgit-url-base)
|
||||
'()
|
||||
`(" "
|
||||
(a (@ (href ,(string-append
|
||||
cgit-url-base
|
||||
"commit/?id="
|
||||
commit-hash)))
|
||||
,name " at " ,datetime))))
|
||||
"(View cgit)"))))))
|
||||
branches))))
|
||||
git-repositories-and-branches)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue