diff options
author | Stefan-Code <Stefan-Code@users.noreply.github.com> | 2015-02-18 08:22:13 +0100 |
---|---|---|
committer | Stefan-Code <Stefan-Code@users.noreply.github.com> | 2015-02-18 08:22:13 +0100 |
commit | 1628ef4ba5120d338c0616e37153f9f9b2f8f236 (patch) | |
tree | e8defff30d6b173a241884937658ac3956281875 /templates/repo/bare.tmpl | |
parent | 6e341e26b30090a335861da35b9cc09977b971a4 (diff) | |
download | gitea-1628ef4ba5120d338c0616e37153f9f9b2f8f236.tar.gz gitea-1628ef4ba5120d338c0616e37153f9f9b2f8f236.zip |
changed repo-clone-url behaviour for bare repo
Diffstat (limited to 'templates/repo/bare.tmpl')
-rw-r--r-- | templates/repo/bare.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/bare.tmpl b/templates/repo/bare.tmpl index 2a1409a6e8..c050b6238d 100644 --- a/templates/repo/bare.tmpl +++ b/templates/repo/bare.tmpl @@ -23,7 +23,7 @@ <h2>{{.i18n.Tr "repo.clone_this_repo"}}</h2> <button class="btn btn-blue current left btn-left-radius" id="repo-clone-ssh" data-link="{{.CloneLink.SSH}}">SSH</button> <button class="btn btn-gray left" id="repo-clone-https" data-link="{{.CloneLink.HTTPS}}">HTTPS</button> - <input id="repo-clone-url" type="text" class="ipt ipt-disabled left" value="{{.CloneLink.SSH}}" readonly /> + <input id="repo-clone-url" type="text" class="ipt ipt-disabled left" value="{{.CloneLink.SSH}}" onclick="this.select()" readonly /> <button class="btn btn-black left btn-right-radius" id="repo-clone-copy" data-copy-val="val" data-copy-from="#repo-clone-url">{{.i18n.Tr "repo.copy_link"}}</button> <p class="text-center" id="repo-clone-help">{{.i18n.Tr "repo.clone_helper" | Str2html}}</p> <hr/> @@ -50,4 +50,4 @@ git push -u origin master</code></pre> </div> </div> </div> -{{template "ng/base/footer" .}}
\ No newline at end of file +{{template "ng/base/footer" .}} |