diff options
author | pvgoran | 2020-05-19 05:05:27 +0700 |
---|---|---|
committer | GitHub | 2020-05-18 23:05:27 +0100 |
commit | 1d57c309ef320ceaf3b9c099c34b30e729751a4f (patch) | |
tree | 18268b10f56914529d06ef88200b5ab33684876c | |
parent | cf97e65b663051568b3294e7c6659cb922386e3e (diff) |
Remove unnecessary parentheses in wiki/revision template (#11481)
This fixes the error on "Page Revision" page, similar to #10552.
-rw-r--r-- | templates/repo/wiki/revision.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/wiki/revision.tmpl b/templates/repo/wiki/revision.tmpl index 13d3a6227..5783884a2 100644 --- a/templates/repo/wiki/revision.tmpl +++ b/templates/repo/wiki/revision.tmpl @@ -21,7 +21,7 @@ {{else if and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)}} <input id="repo-clone-url" value="{{$.WikiCloneLink.SSH}}" readonly> {{end}} - {{if or ((not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)))}} + {{if or (not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH))}} <button class="ui basic icon button poping up clipboard" id="clipboard-btn" data-original="{{.i18n.Tr "repo.copy_link"}}" data-success="{{.i18n.Tr "repo.copy_link_success"}}" data-error="{{.i18n.Tr "repo.copy_link_error"}}" data-content="{{.i18n.Tr "repo.copy_link"}}" data-variation="inverted tiny" data-clipboard-target="#repo-clone-url"> <i class="octicon octicon-clippy"></i> </button> |