Skip to content
Snippets Groups Projects
Commit 0e9080e3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fixed bug with non-displayed download button

parent 65d9f8c1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment