Only show the mean charts to logged in users

This commit is contained in:
gregoirenovel 2017-05-29 17:37:05 +02:00
parent e242c5d742
commit e19fb43f01

View file

@ -64,6 +64,7 @@
%span.big-number-card-number
= number_with_delimiter(@dossiers_count)
- if administration_signed_in?
- cache "computation-heavy-stats", :expires_in => 1.day do
.stat-card.stat-card-half.pull-left
%span.stat-card-title Temps de traitement moyen d'un dossier