Skip to content

Commit 009990b

Browse files
zeripathlafriks
andauthored
Remove unnecessary parentheses in template (#10583)
Fix #10552 Co-authored-by: Lauris BH <[email protected]>
1 parent 0e2217b commit 009990b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/wiki/view.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
{{else if and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)}}
4646
<input id="repo-clone-url" value="{{$.UncycloCloneLink.SSH}}" readonly>
4747
{{end}}
48-
{{if or ((not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)))}}
48+
{{if or (not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH))}}
4949
<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">
5050
{{svg "octicon-clippy" 16}}
5151
</button>

0 commit comments

Comments
 (0)