summaryrefslogtreecommitdiff
path: root/app/views/explore/projects/_projects.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/explore/projects/_projects.html.haml')
-rw-r--r--app/views/explore/projects/_projects.html.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/explore/projects/_projects.html.haml b/app/views/explore/projects/_projects.html.haml
index 22cc541115c..669079e9521 100644
--- a/app/views/explore/projects/_projects.html.haml
+++ b/app/views/explore/projects/_projects.html.haml
@@ -1,6 +1,6 @@
-%ul.projects-list.bordered-list.my-projects.public-projects
- - projects.each do |project|
- %li.project-row
- = render partial: 'shared/project', locals: { project: project, avatar: true, stars: true }
-- unless projects.present?
- .nothing-here-block No such projects
+- if projects.any?
+ .public-projects
+ = render 'shared/projects/list', projects: projects
+- else
+ .nothing-here-block
+ No such projects