diff options
| author | Zog | 2018-04-20 10:22:12 +0200 |
|---|---|---|
| committer | Johan Van Ryseghem | 2018-04-27 11:17:19 +0200 |
| commit | 8f706a24bf732b715d2ad8b25b635e08eaa3e705 (patch) | |
| tree | 79bd9dadac234ac5cb9ce6d574427f1653518407 /app/views/dashboards | |
| parent | 9c740c9a6bdf97782c698b56fb25701fac3bbf8e (diff) | |
| download | chouette-core-8f706a24bf732b715d2ad8b25b635e08eaa3e705.tar.bz2 | |
Refs #6572; Fix dashboard
Diffstat (limited to 'app/views/dashboards')
| -rw-r--r-- | app/views/dashboards/_dashboard.html.slim | 4 |
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 |
