mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-05-06 14:36:59 +02:00
Add download links on tree pages
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
{% embed 'breadcrumb.twig' with {breadcrumbs: breadcrumbs} %}
|
||||
{% block extra %}
|
||||
<a href="{{ path('rss', {repo: repo, branch: branch}) }}"><i class="rss pull-right"></i></a>
|
||||
<div class="btn-group pull-right">
|
||||
<a href="{{ path('archive', {repo: repo, branch: branch, format: 'zip'}) }}" class="btn btn-mini" title="Download ZIP archive">ZIP</a>
|
||||
<a href="{{ path('archive', {repo: repo, branch: branch, format: 'tar'}) }}" class="btn btn-mini" title="Download TAR archive">TAR</a>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endembed %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user