From 30c81a126c36da555f3e982d36c38779d962edfd Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 9 Apr 2018 22:49:59 +0800 Subject: [PATCH] fix: show Clipboard button if disable HTTP of git protocol (#3773) --- 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 9f705c967c..72212a75b6 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))}}