Commit 2cde6864 authored by Phil Hughes's avatar Phil Hughes

Merge branch '61880-download-btn-group' into 'master'

Group download buttons in a .btn-group

Closes #61880

See merge request gitlab-org/gitlab-ce!28599
parents efdca2e6 dd8d2fab
- formats = [['zip', 'btn-primary'], ['tar.gz'], ['tar.bz2'], ['tar']] - formats = [['zip', 'btn-primary'], ['tar.gz'], ['tar.bz2'], ['tar']]
.d-flex.justify-content-between .btn-group.ml-0.w-100
- formats.each do |(fmt, extra_class)| - formats.each do |(fmt, extra_class)|
= link_to fmt, project_archive_path(project, id: tree_join(ref, archive_prefix), path: path, format: fmt), rel: 'nofollow', download: '', class: "btn btn-xs #{extra_class}" = link_to fmt, project_archive_path(project, id: tree_join(ref, archive_prefix), path: path, format: fmt), rel: 'nofollow', download: '', class: "btn btn-xs #{extra_class}"
---
title: Group download buttons into a .btn-group
merge_request:
author:
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment