From 8f706a24bf732b715d2ad8b25b635e08eaa3e705 Mon Sep 17 00:00:00 2001 From: Zog Date: Fri, 20 Apr 2018 10:22:12 +0200 Subject: Refs #6572; Fix dashboard --- app/views/dashboards/_dashboard.html.slim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/dashboards/_dashboard.html.slim b/app/views/dashboards/_dashboard.html.slim index 466695b5a..ce869ee4a 100644 --- a/app/views/dashboards/_dashboard.html.slim +++ b/app/views/dashboards/_dashboard.html.slim @@ -11,9 +11,9 @@ div = link_to '', workbench_path(workbench), class: ' fa fa-chevron-right pull-right', title: t('workbenches.index.offers.see') - - if workbench.referentials.present? + - if workbench.all_referentials.present? .list-group - - workbench.referentials.limit(5).each do |referential| + - workbench.all_referentials.limit(5).each do |referential| = link_to referential.name, referential_path(referential), class: 'list-group-item' - else .panel-body -- cgit v1.2.3