Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPhilip Karpiak <philip@eswat.ca>2016-11-10 18:07:27 +0300
committerPhilip Karpiak <philip@eswat.ca>2016-11-10 18:14:36 +0300
commitd9a0682d891e26a8ad0e5eb1a1b9b41d15fb5b27 (patch)
treefa6c5a785517aac55b1c999f5deec3a37a6e7679 /app
parent0c99e5d0b6b457ef7db2c36f1394fad5c63d1142 (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.haml2
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')