diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2016-03-10 15:20:17 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2016-03-10 15:20:17 +0000 |
commit | 3d4063efa1008d14fb35101916da70aa896887ed (patch) | |
tree | 2557290bbed6a128c4af62604868a7b01d87ccbe /app | |
parent | 8179f4fc0cffc81acf0040dddf593b0cd2abde2e (diff) | |
parent | 573bbd674b7bc14d50ccfa04aa2af9021f68de2b (diff) | |
download | gitlab-ce-3d4063efa1008d14fb35101916da70aa896887ed.tar.gz |
Merge branch 'download-button-flicker' into 'master'
Fixed flicker of download project button
Closes #14177
![download-button-flicker](/uploads/21e8ccc68ed66394c8ec65ca549f94ad/download-button-flicker.gif)
See merge request !3152
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 14ee2263b7d..6a60cfeff76 100644 --- a/app/views/projects/buttons/_download.html.haml +++ b/app/views/projects/buttons/_download.html.haml @@ -1,4 +1,4 @@ - unless @project.empty_repo? - if can? current_user, :download_code, @project - = link_to archive_namespace_project_repository_path(@project.namespace, @project, ref: @ref, format: 'zip'), class: 'btn has_tooltip', rel: 'nofollow', title: "Download ZIP" do + = link_to archive_namespace_project_repository_path(@project.namespace, @project, ref: @ref, format: 'zip'), class: 'btn has_tooltip', data: {container: "body"}, rel: 'nofollow', title: "Download ZIP" do = icon('download') |