diff options
author | Unknwon <u@gogs.io> | 2015-11-22 02:42:39 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-22 02:42:39 -0500 |
commit | efaf60ba5a4a7c0954dbaf57203859db3258281f (patch) | |
tree | c869c219a3fc0ad1854fa0edcfd462e713fabf54 /templates/repo/home.tmpl | |
parent | e6b2a01e5d4f556ce35d4343094b74dc680d7cce (diff) | |
download | gitea-efaf60ba5a4a7c0954dbaf57203859db3258281f.tar.gz gitea-efaf60ba5a4a7c0954dbaf57203859db3258281f.zip |
fix #2013
Diffstat (limited to 'templates/repo/home.tmpl')
-rw-r--r-- | templates/repo/home.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index ea0778328b..4069eff384 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -18,7 +18,7 @@ </button> {{end}} <button class="ui {{if $.DisableSSH}}blue{{end}} basic clone button" id="repo-clone-https" data-link="{{.CloneLink.HTTPS}}"> - HTTPS + {{if eq Protocol "http"}}HTTP{{else}}HTTPS{{end}} </button> <input id="repo-clone-url" value="{{if $.DisableSSH}}{{$.CloneLink.HTTPS}}{{else}}{{$.CloneLink.SSH}}{{end}}" readonly> <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"> |