Commit 0e9080e3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fixed bug with non-displayed download button

parent 65d9f8c1
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment