diff --git a/templates/repo/clone_buttons.tmpl b/templates/repo/clone_buttons.tmpl index 92195283ca03..b0377b5bc34d 100644 --- a/templates/repo/clone_buttons.tmpl +++ b/templates/repo/clone_buttons.tmpl @@ -1,17 +1,17 @@ {{if not $.DisableHTTP}} - {{end}} {{if and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)}} - {{end}} {{if not $.DisableHTTP}} - + {{else if and (not .DisableSSH) (or $.IsSigned $.ExposeAnonSSH)}} - + {{end}} {{if or (not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH))}}