diff options
author | John Olheiser <john.olheiser@gmail.com> | 2021-08-24 11:47:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 11:47:09 -0500 |
commit | 648464b504755ee96187692fbe59acc2eec5bddf (patch) | |
tree | aa25fbd8c8d9cb975d6eb53094098d5a33aa7afa /templates | |
parent | d22cb600edc2605bd8be25c9079a5ce2c6643547 (diff) | |
download | gitea-648464b504755ee96187692fbe59acc2eec5bddf.tar.gz gitea-648464b504755ee96187692fbe59acc2eec5bddf.zip |
Add bundle download for repository (#14538)
* Add bundle download
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix fmt
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix build tags
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Download specific commit
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/home.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 5629c7ee12..0c377251fa 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -118,6 +118,7 @@ </a> <a class="item archive-link" data-url="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.zip">{{svg "octicon-file-zip"}} {{.i18n.Tr "repo.download_zip"}}</a> <a class="item archive-link" data-url="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.tar.gz">{{svg "octicon-file-zip"}} {{.i18n.Tr "repo.download_tar"}}</a> + <a class="item archive-link" data-url="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.bundle">{{svg "octicon-package"}} {{.i18n.Tr "repo.download_bundle"}}</a> </div> </button> </div> |