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
This commit is contained in:
commit
2cde6864d1
2 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
- 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)|
|
||||
= 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}"
|
||||
|
|
5
changelogs/unreleased/61880-download-btn-group.yml
Normal file
5
changelogs/unreleased/61880-download-btn-group.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Group download buttons into a .btn-group
|
||||
merge_request:
|
||||
author:
|
||||
type: other
|
Loading…
Reference in a new issue