2019-09-04 21:01:54 +05:30
|
|
|
.btn-group.ml-0.w-100
|
2019-12-26 22:10:19 +05:30
|
|
|
- Gitlab::Workhorse::ARCHIVE_FORMATS.each_with_index do |fmt, index|
|
2019-12-04 20:38:33 +05:30
|
|
|
- archive_path = project_archive_path(project, id: tree_join(ref, archive_prefix), path: path, format: fmt)
|
2019-12-26 22:10:19 +05:30
|
|
|
= link_to fmt, external_storage_url_or_path(archive_path), rel: 'nofollow', download: '', class: "btn btn-xs #{"btn-primary" if index == 0}"
|