diff options
author | Phil Hughes <me@iamphill.com> | 2016-03-10 14:52:31 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-03-10 14:52:31 +0300 |
commit | 573bbd674b7bc14d50ccfa04aa2af9021f68de2b (patch) | |
tree | 8268a8abf2e98805b1d1863dd1b66e0f23389dda /app/views/projects/buttons | |
parent | 491ac7ce4b79c901e23799d2062f9f013f08c6c3 (diff) |
Fixed flicker of download project button
Closes #14177
Diffstat (limited to 'app/views/projects/buttons')
-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') |