Commit 0e9080e3dda595d91c563439e7d07f4ecf822403

Authored by Dmitriy Zaporozhets
1 parent 65d9f8c1

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 4 .form-horizontal= render "shared/clone_panel"
5 5 .span4.pull-right
6 6 .pull-right
7   - - if @project.empty_repo?
  7 + - unless @project.empty_repo?
8 8 - if can? current_user, :download_code, @project
9 9 = link_to archive_project_repository_path(@project), class: "btn-small btn grouped" do
10 10 %i.icon-download-alt
... ...