]> source.dussan.org Git - gitea.git/commit
Consolidate clone button templates (#14023)
authorsilverwind <me@silverwind.io>
Mon, 28 Dec 2020 18:30:06 +0000 (19:30 +0100)
committerGitHub <noreply@github.com>
Mon, 28 Dec 2020 18:30:06 +0000 (13:30 -0500)
commit9a4050f1e839af1bd072aff9ac5fc69e650747c8
treebeffd72b4be84a3465eb02969c1988667c3468d9
parent366ce66cadcaeb45cc1434f3446561329708bb5b
Consolidate clone button templates (#14023)

The four clone button templates are pretty much identical except the one
in a non-empty repo had a few features which the others lacked.

Consolidate them in a single shared template which also makes the JS
that remembers protocol work on them all.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
templates/repo/clone_buttons.tmpl [new file with mode: 0644]
templates/repo/empty.tmpl
templates/repo/home.tmpl
templates/repo/wiki/revision.tmpl
templates/repo/wiki/view.tmpl