1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-27 04:38:36 +00:00

Remember last selected clone protocol, and establish uniform order (https, ssh)

This commit is contained in:
Florian Kaiser
2016-02-01 16:30:28 +00:00
parent 5d192c2ebf
commit d568019306
4 changed files with 25 additions and 11 deletions

View File

@@ -35,7 +35,7 @@
{{if eq $n 0}}
<div class="right fitted item">
<div class="ui action small input" id="clone-panel">
<button class="ui blue basic clone button" id="repo-clone-https" data-link="{{.CloneLink.HTTPS}}">
<button class="ui basic clone button" id="repo-clone-https" data-link="{{.CloneLink.HTTPS}}">
{{if UseHTTPS}}HTTPS{{else}}HTTP{{end}}
</button>
{{if not $.DisableSSH}}