diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-22 14:47:47 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-22 14:47:47 -0400 |
commit | 063aacd436da24c2616d68a838959300978afaa5 (patch) | |
tree | e2f08f0371b88cc63bc5b226c632bcdaf9378b62 /templates/repo/header.tmpl | |
parent | 196efecaaabca797832e62287732a77f02b6b594 (diff) | |
download | gitea-063aacd436da24c2616d68a838959300978afaa5.tar.gz gitea-063aacd436da24c2616d68a838959300978afaa5.zip |
UI: Use tooltip not alert when copy clone URL
Diffstat (limited to 'templates/repo/header.tmpl')
-rw-r--r-- | templates/repo/header.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 524bfd11e2..699e90461e 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -19,7 +19,7 @@ <button class="btn btn-blue left 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" class="ipt ipt-disabled left" value="{{.CloneLink.SSH}}" readonly /> - <button id="repo-clone-copy" class="btn btn-black left btn-right-radius" data-copy-val="val" data-copy-from="#repo-clone-url">{{.i18n.Tr "repo.copy_link"}}</button> + <button id="repo-clone-copy" class="btn btn-black left btn-right-radius" data-copy-val="val" data-copy-from="#repo-clone-url" original-title="{{.i18n.Tr "repo.click_to_copy"}}" data-original-title="{{.i18n.Tr "repo.click_to_copy"}}" data-after-title="{{.i18n.Tr "repo.copied"}}">{{.i18n.Tr "repo.copy_link"}}</button> <p class="text-center" id="repo-clone-help">{{.i18n.Tr "repo.clone_helper" | Str2html}}</p> <hr/> <div class="text-center" id="repo-clone-zip"> |