diff --git a/templates/repo/clone_buttons.tmpl b/templates/repo/clone_buttons.tmpl index 92195283c..b0377b5bc 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))}}