Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6
- formats = [['zip', 'btn-primary'], ['tar.gz'], ['tar.bz2'], ['tar']] .btn-group.ml-0.w-100 - formats.each do |(fmt, extra_class)| - archive_path = project_archive_path(project, id: tree_join(ref, archive_prefix), path: path, format: fmt) = link_to fmt, external_storage_url_or_path(archive_path), rel: 'nofollow', download: '', class: "btn btn-xs #{extra_class}"