Commit 0e9080e3dda595d91c563439e7d07f4ecf822403
1 parent
65d9f8c1
Exists in
master
and in
4 other branches
Fixed bug with non-displayed download button
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/projects/_clone_panel.html.haml
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | .form-horizontal= render "shared/clone_panel" | 4 | .form-horizontal= render "shared/clone_panel" |
5 | .span4.pull-right | 5 | .span4.pull-right |
6 | .pull-right | 6 | .pull-right |
7 | - - if @project.empty_repo? | 7 | + - unless @project.empty_repo? |
8 | - if can? current_user, :download_code, @project | 8 | - if can? current_user, :download_code, @project |
9 | = link_to archive_project_repository_path(@project), class: "btn-small btn grouped" do | 9 | = link_to archive_project_repository_path(@project), class: "btn-small btn grouped" do |
10 | %i.icon-download-alt | 10 | %i.icon-download-alt |