Fixed flicker of download project button

Closes #14177
This commit is contained in:
Phil Hughes 2016-03-10 11:52:31 +00:00
parent 491ac7ce4b
commit 573bbd674b
1 changed files with 1 additions and 1 deletions

View File

@ -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')