Fixed bug with non-displayed download button

This commit is contained in:
Dmitriy Zaporozhets 2013-04-01 21:25:50 +03:00
parent 65d9f8c16c
commit 0e9080e3dd

View file

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