aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZog2018-04-20 10:22:12 +0200
committerJohan Van Ryseghem2018-04-27 11:17:19 +0200
commit8f706a24bf732b715d2ad8b25b635e08eaa3e705 (patch)
tree79bd9dadac234ac5cb9ce6d574427f1653518407
parent9c740c9a6bdf97782c698b56fb25701fac3bbf8e (diff)
downloadchouette-core-8f706a24bf732b715d2ad8b25b635e08eaa3e705.tar.bz2
Refs #6572; Fix dashboard
-rw-r--r--app/views/dashboards/_dashboard.html.slim4
1 files 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