Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e5e9d1e5
Commit
e5e9d1e5
authored
May 23, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
d7d90eed
2cde6864
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
app/views/projects/buttons/_download_links.html.haml
app/views/projects/buttons/_download_links.html.haml
+1
-1
changelogs/unreleased/61880-download-btn-group.yml
changelogs/unreleased/61880-download-btn-group.yml
+5
-0
No files found.
app/views/projects/buttons/_download_links.html.haml
View file @
e5e9d1e5
-
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
}
"
changelogs/unreleased/61880-download-btn-group.yml
0 → 100644
View file @
e5e9d1e5
---
title
:
Group download buttons into a .btn-group
merge_request
:
author
:
type
:
other
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment