From 54d4e664c2b78213f2e55e3ba972032f82898c83 Mon Sep 17 00:00:00 2001 From: Abdul Monim <110587615+monim67-renforce@users.noreply.github.com> Date: Tue, 20 Sep 2022 20:01:24 +0600 Subject: [PATCH] Make the vscode clone link respect transport protocol (#20557) (#21128) Backports #20557 Co-authored-by: Norwin Co-authored-by: Munim Munna <6266677+monim67@users.noreply.github.com> --- 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 48b7ad329..5c9a545ca 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 a2f09e4b8..2f9b1f25b 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -126,7 +126,7 @@ {{svg "octicon-file-zip" 16 "mr-3"}}{{.i18n.Tr "repo.download_tar"}} {{svg "octicon-package" 16 "mr-3"}}{{.i18n.Tr "repo.download_bundle"}} {{end}} - {{svg "gitea-vscode" 16 "mr-3"}}{{.i18n.Tr "repo.clone_in_vsc"}} + {{svg "gitea-vscode" 16 "mr-3"}}{{.i18n.Tr "repo.clone_in_vsc"}}