summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-06-08 17:53:53 -0400
committerUnknown <joe2010xtmf@163.com>2014-06-08 17:53:53 -0400
commitf160b4f33ca69df13b071648aad09e561dafec26 (patch)
treedc630164a3c25c70e4ce5f2257b1a4a69a488d7a /templates
parent1f58d6f5d912187653db442e17d20261fc970b7b (diff)
downloadgitea-f160b4f33ca69df13b071648aad09e561dafec26.tar.gz
gitea-f160b4f33ca69df13b071648aad09e561dafec26.zip
Add tar.gz download button and other mirror updates
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/nav.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl
index 70e1745fff..ea7799b351 100644
--- a/templates/repo/nav.tmpl
+++ b/templates/repo/nav.tmpl
@@ -27,6 +27,7 @@
<hr/>
<div class="clone-zip text-center">
<a class="btn btn-success btn-lg" href="{{.RepoLink}}/archive/{{.BranchName}}/{{.Repository.Name}}.zip" rel="nofollow"><i class="fa fa-suitcase"></i>Download ZIP</a>
+ <a class="btn btn-success btn-lg" href="{{.RepoLink}}/archive/{{.BranchName}}/{{.Repository.Name}}.tar.gz" rel="nofollow"><i class="fa fa-suitcase"></i>Download TAR.GZ</a>
</div>
</div>
</div>