diff options
author | slene <vslene@gmail.com> | 2014-04-16 00:46:57 +0800 |
---|---|---|
committer | slene <vslene@gmail.com> | 2014-04-16 00:46:57 +0800 |
commit | d3fc1da8c21c41ebc987f02c3c94540e84e4c0bc (patch) | |
tree | dfa4f5235177d920f94a19e4f7a342a18d89ae4a /templates/repo/nav.tmpl | |
parent | 4fafc7605245ef175a8fb8558eb7c30c4f7b0400 (diff) | |
download | gitea-d3fc1da8c21c41ebc987f02c3c94540e84e4c0bc.tar.gz gitea-d3fc1da8c21c41ebc987f02c3c94540e84e4c0bc.zip |
download link
Diffstat (limited to 'templates/repo/nav.tmpl')
-rw-r--r-- | templates/repo/nav.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl index 9cbbc9318d..ce9c112b8d 100644 --- a/templates/repo/nav.tmpl +++ b/templates/repo/nav.tmpl @@ -8,7 +8,7 @@ <div class="col-md-5 actions text-right clone-group-btn"> {{if not .IsBareRepo}} <div class="btn-group" id="repo-clone"> - <button type="button" class="btn btn-default"><i class="fa fa-download fa-lg fa-m"></i></button> + <a class="btn btn-default" href="{{.RepoLink}}/archive/{{.BranchName}}/{{.Repository.Name}}.zip"><i class="fa fa-download fa-lg fa-m"></i></a> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <span class="caret"></span> </button> @@ -61,4 +61,4 @@ </div> </div> </div> -</div>
\ No newline at end of file +</div> |