Fixed bug with non-displayed download button
This commit is contained in:
parent
65d9f8c16c
commit
0e9080e3dd
|
@ -4,7 +4,7 @@
|
|||
.form-horizontal= render "shared/clone_panel"
|
||||
.span4.pull-right
|
||||
.pull-right
|
||||
- if @project.empty_repo?
|
||||
- unless @project.empty_repo?
|
||||
- if can? current_user, :download_code, @project
|
||||
= link_to archive_project_repository_path(@project), class: "btn-small btn grouped" do
|
||||
%i.icon-download-alt
|
||||
|
|
Loading…
Reference in a new issue