From 98f70cc815f45e475242e483f80b47c6b8caf313 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Mon, 27 Aug 2018 11:41:38 +0200 Subject: [PATCH] Allow a user to rate the service each month --- app/views/new_user/dossiers/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/new_user/dossiers/index.html.haml b/app/views/new_user/dossiers/index.html.haml index ce0f01392..3760e8bb0 100644 --- a/app/views/new_user/dossiers/index.html.haml +++ b/app/views/new_user/dossiers/index.html.haml @@ -54,7 +54,7 @@ = dossier.updated_at.localtime.strftime("%d/%m/%Y") = paginate(@dossiers) - - if current_user.feedbacks.empty? + - if current_user.feedbacks.empty? || current_user.feedbacks.last.created_at < 1.month.ago #user-satisfaction %h3 Que pensez-vous de ce service ? .icons