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