Browse Source

Added Clone button to Git Repo

tags/v1.1
Teknikode 5 years ago
parent
commit
7bf19afc28
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      git/views/tree.twig

+ 1
- 0
git/views/tree.twig View File

@@ -7,6 +7,7 @@
{% block extra %}
<div class="pull-right">
<div class="btn-group download-buttons">
<a href="ssh://git@teknik.io:{{ repo }}" class="btn btn-default btn-xs" title="Clone '{{ repo }}'"><span class="fa fa-cloud-download"></span> Clone</a>
<a href="{{ app.path_prefix }}{{ path('archive', {repo: repo, branch: branch, format: 'zip'}) }}" class="btn btn-default btn-xs" title="Download '{{ branch }}' as a ZIP archive">ZIP</a>
<a href="{{ app.path_prefix }}{{ path('archive', {repo: repo, branch: branch, format: 'tar'}) }}" class="btn btn-default btn-xs" title="Download '{{ branch }}' as a TAR archive">TAR</a>
</div>

Loading…
Cancel
Save