~edwargix/git.sr.ht

59b98e2e4410acc36398a79655b72d58bad58227 — Arsen Arsenović 1 year, 5 months ago 0100a8a
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>