commit.html: Add button to download .tar.gz
1 files changed, 7 insertions(+), 0 deletions(-) M gitsrht/templates/commit.html
M gitsrht/templates/commit.html => gitsrht/templates/commit.html +7 -0
@@ 30,6 30,13 @@ ref=commit.id.hex)}}" class="btn btn-default btn-block" >browse {{icon("caret-right")}}</a> <a href="{{url_for("repo.archive", owner=repo.owner.canonical_name, repo=repo.name, ref=commit.id.hex)}}" class="btn btn-default btn-block" >.tar.gz {{icon("caret-right")}}</a> </div> </div> </div>