From a5151324dc49a76776b8ad6a31134aca6685f6d7 Mon Sep 17 00:00:00 2001 From: zPlus Date: Wed, 27 Jul 2022 11:51:19 +0200 Subject: [PATCH] Fix repository name on overview page. The repository overview page showed the wrong HTTPS/SSH paths for the repository. --- templates/repository/readme.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repository/readme.html b/templates/repository/readme.html index 30a7fdd..18367eb 100644 --- a/templates/repository/readme.html +++ b/templates/repository/readme.html @@ -14,12 +14,12 @@
Anon. clone
- https://{{ instance_domain }}/{{ repository[0] }}/{{ repository[1] }}.git + https://{{ instance_domain }}/{{ repository }}

SSH
- git@{{ instance_domain }}:{{ repository[0] }}/{{ repository[1] }} + git@{{ instance_domain }}:{{ repository[:-4] }} {% if head_ref %}