From 251e1b68b4beeb4960c1472c322fbb811cb5b88b Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 9 Apr 2018 23:35:30 +0800 Subject: [PATCH] Backport: fix: show Clipboard button if disable HTTP of git protocol #3773 (#3774) --- templates/repo/home.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 91db56c98..85b6cadf7 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -73,7 +73,7 @@ {{else if and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)}} {{end}} - {{if or ((not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)))}} + {{if or (not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH))}}