guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: Fix branch links on the repository page


From: Christopher Baines
Subject: branch master updated: Fix branch links on the repository page
Date: Fri, 20 May 2022 07:19:29 -0400

This is an automated email from the git hooks/post-receive script.

cbaines pushed a commit to branch master
in repository data-service.

The following commit(s) were added to refs/heads/master by this push:
     new 89545ca  Fix branch links on the repository page
89545ca is described below

commit 89545caa3f8223db49f3e18dfecee0bc4094c0da
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Fri May 20 12:18:58 2022 +0100

    Fix branch links on the repository page
    
    Thanks to Tobias for reporting.
---
 guix-data-service/web/view/html.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/guix-data-service/web/view/html.scm 
b/guix-data-service/web/view/html.scm
index 8a0b64b..3f2c2ae 100644
--- a/guix-data-service/web/view/html.scm
+++ b/guix-data-service/web/view/html.scm
@@ -373,12 +373,14 @@
           ((name commit date revision-exists? job-events)
            `(tr
              (td
-              (a (@ (href ,(encode-and-join-uri-path
-                            (list
-                             "repository"
-                             (number->string git-repository-id)
-                             "branch"
-                             name))))
+              (a (@ (href ,(string-append
+                            "/"
+                            (encode-and-join-uri-path
+                             (list
+                              "repository"
+                              (number->string git-repository-id)
+                              "branch"
+                              name)))))
                  ,name))
              (td ,date)
              (td ,@(if (string=? commit "")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]