Skip to content
Snippets Groups Projects
Commit d9a0682d authored by Philip Karpiak's avatar Philip Karpiak
Browse files

Project download buttons always show

This was hidden when the viewport was was below the 'hidden-sm' theshold. Now it displays the same as the rest of the 'project-repo-buttons' block.
parent 0c99e5d0
No related branches found
No related tags found
1 merge request!7405Project download buttons always show
- if !project.empty_repo? && can?(current_user, :download_code, project) - if !project.empty_repo? && can?(current_user, :download_code, project)
%span{class: 'hidden-xs hidden-sm download-button'} %span{class: 'download-button'}
.dropdown.inline .dropdown.inline
%button.btn{ 'data-toggle' => 'dropdown' } %button.btn{ 'data-toggle' => 'dropdown' }
= icon('download') = icon('download')
Loading
Loading
---
title: Project download buttons always show
merge_request: 7405
author: Philip Karpiak
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment