diff options
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> |