From 86ed47e622dabf5c27d60f00883fff46bd349d95 Mon Sep 17 00:00:00 2001 From: Norwin Date: Fri, 9 Sep 2022 08:38:51 +0200 Subject: [PATCH] Make the vscode clone link respect transport protocol (#20557) --- templates/repo/clone_script.tmpl | 5 +++++ templates/repo/home.tmpl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/repo/clone_script.tmpl b/templates/repo/clone_script.tmpl index 48b7ad3299ca2..afd90040fb4e7 100644 --- a/templates/repo/clone_script.tmpl +++ b/templates/repo/clone_script.tmpl @@ -1,6 +1,8 @@ diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 69af36ac68028..fe5af82d1a2f3 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -126,7 +126,7 @@ {{svg "octicon-file-zip" 16 "mr-3"}}{{.locale.Tr "repo.download_tar"}} {{svg "octicon-package" 16 "mr-3"}}{{.locale.Tr "repo.download_bundle"}} {{end}} - {{svg "gitea-vscode" 16 "mr-3"}}{{.locale.Tr "repo.clone_in_vsc"}} + {{svg "gitea-vscode" 16 "mr-3"}}{{.locale.Tr "repo.clone_in_vsc"}}