Browse Source

download link

pull/79/head
slene 11 years ago
parent
commit
d3fc1da8c2
  1. 4
      templates/repo/nav.tmpl

4
templates/repo/nav.tmpl

@ -8,7 +8,7 @@
<div class="col-md-5 actions text-right clone-group-btn"> <div class="col-md-5 actions text-right clone-group-btn">
{{if not .IsBareRepo}} {{if not .IsBareRepo}}
<div class="btn-group" id="repo-clone"> <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"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span> <span class="caret"></span>
</button> </button>
@ -61,4 +61,4 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save