We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent daf70d3 commit 30c81a1Copy full SHA for 30c81a1
templates/repo/home.tmpl
@@ -73,7 +73,7 @@
73
{{else if and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)}}
74
<input id="repo-clone-url" value="{{$.CloneLink.SSH}}" readonly>
75
{{end}}
76
- {{if or ((not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)))}}
+ {{if or (not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH))}}
77
<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">
78
<i class="octicon octicon-clippy"></i>
79
</button>
0 commit comments