aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-07-19 21:29:56 +0100
committerChristopher Baines <mail@cbaines.net>2019-07-19 21:29:56 +0100
commit1f1deac29609fb63abf0f0a9939157df23b651a3 (patch)
treee76e0c573954c999fd6a6bb013d6b25ed5184c30 /guix-data-service/web
parent1f977f6c125e10061610dd62c7287e6e9448dea5 (diff)
downloaddata-service-1f1deac29609fb63abf0f0a9939157df23b651a3.tar
data-service-1f1deac29609fb63abf0f0a9939157df23b651a3.tar.gz
Link from a revision to the git repository page
Diffstat (limited to 'guix-data-service/web')
-rw-r--r--guix-data-service/web/view/html.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/guix-data-service/web/view/html.scm b/guix-data-service/web/view/html.scm
index 78a7183..8c34f05 100644
--- a/guix-data-service/web/view/html.scm
+++ b/guix-data-service/web/view/html.scm
@@ -426,8 +426,10 @@
`((h3 "Git repositories")
,@(map
(match-lambda
- (((label url cgit-url-base) . branches)
- `((h4 ,url)
+ (((id label url cgit-url-base) . branches)
+ `((a (@ (href ,(string-append
+ "/repository/" id)))
+ (h4 ,url))
,@(map
(match-lambda
((name datetime)