Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-01 22:25:50 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-01 22:25:50 +0400
commit0e9080e3dda595d91c563439e7d07f4ecf822403 (patch)
tree5a0028684f41addbf6680ce8d8f5d4d68a7b1dbf /app
parent65d9f8c16c35dd716955c420223aa22720628b6e (diff)
Fixed bug with non-displayed download button
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/_clone_panel.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_clone_panel.html.haml b/app/views/projects/_clone_panel.html.haml
index 91353147c6b..9a2be429206 100644
--- a/app/views/projects/_clone_panel.html.haml
+++ b/app/views/projects/_clone_panel.html.haml
@@ -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