From 08feb6b664873af268c483f875384f7e1da9c7a2 Mon Sep 17 00:00:00 2001 From: zeripath Date: Mon, 21 Mar 2022 00:59:55 +0000 Subject: [PATCH] Ensure isSSH is set whenever DISABLE_HTTP_GIT is set (#19028) (#19146) Backport #19028 When DISABLE_HTTP_GIT is set we should always show the SSH button Co-authored-by: wxiaoguang Co-authored-by: Lunny Xiao Co-authored-by: techknowlogick --- templates/repo/clone_buttons.tmpl | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/templates/repo/clone_buttons.tmpl b/templates/repo/clone_buttons.tmpl index 29d3fe76d7..d4b822521c 100644 --- a/templates/repo/clone_buttons.tmpl +++ b/templates/repo/clone_buttons.tmpl @@ -19,17 +19,24 @@ {{end}} {{if not (and $.DisableHTTP $.DisableSSH)}} - + {{end}}