diff options
author | Philip Karpiak <philip@eswat.ca> | 2016-11-10 18:07:27 +0300 |
---|---|---|
committer | Philip Karpiak <philip@eswat.ca> | 2016-11-10 18:14:36 +0300 |
commit | d9a0682d891e26a8ad0e5eb1a1b9b41d15fb5b27 (patch) | |
tree | fa6c5a785517aac55b1c999f5deec3a37a6e7679 /app | |
parent | 0c99e5d0b6b457ef7db2c36f1394fad5c63d1142 (diff) |
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.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/buttons/_download.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/buttons/_download.html.haml b/app/views/projects/buttons/_download.html.haml index 7e83a88913a..7b995bd8735 100644 --- a/app/views/projects/buttons/_download.html.haml +++ b/app/views/projects/buttons/_download.html.haml @@ -1,5 +1,5 @@ - if !project.empty_repo? && can?(current_user, :download_code, project) - %span{class: 'hidden-xs hidden-sm download-button'} + %span{class: 'download-button'} .dropdown.inline %button.btn{ 'data-toggle' => 'dropdown' } = icon('download') |