diff options
| author | Zog | 2018-04-06 08:42:57 +0200 | 
|---|---|---|
| committer | cedricnjanga | 2018-04-10 13:44:16 -0700 | 
| commit | 132623a09bb5badc1664eb859772a44d6c741fcf (patch) | |
| tree | 85c8ac5ca63a9c3773e88c057f75514c55bb8f69 | |
| parent | 7f7f93caf090aee755b23b408d5da2374088217b (diff) | |
| download | chouette-core-132623a09bb5badc1664eb859772a44d6c741fcf.tar.bz2 | |
Refs #6300; Fix referentials count on dashboard
| -rw-r--r-- | app/views/dashboards/_dashboard.html.slim | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/views/dashboards/_dashboard.html.slim b/app/views/dashboards/_dashboard.html.slim index e1be3df4a..466695b5a 100644 --- a/app/views/dashboards/_dashboard.html.slim +++ b/app/views/dashboards/_dashboard.html.slim @@ -6,7 +6,7 @@            h3.panel-title.with_actions              div                = link_to t('dashboards.workbench.title', organisation: workbench.organisation.name), workbench_path(workbench) -              span.badge.ml-xs = workbench.referentials.count if workbench.referentials.present? +              span.badge.ml-xs = workbench.all_referentials.uniq.count if workbench.all_referentials.present?              div                = link_to '', workbench_path(workbench), class: ' fa fa-chevron-right pull-right', title: t('workbenches.index.offers.see') | 
