From 5fbd5a5a9771bb6f88bd31197ccf14b26ea72013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Verg=C3=A9s?= Date: Mon, 29 Apr 2024 17:52:52 +0200 Subject: [PATCH] Update app/views/decidim/consultations/question_votes/_callout.html.erb --- .../decidim/consultations/question_votes/_callout.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/decidim/consultations/question_votes/_callout.html.erb b/app/views/decidim/consultations/question_votes/_callout.html.erb index 3c42cec5..da43ef7d 100644 --- a/app/views/decidim/consultations/question_votes/_callout.html.erb +++ b/app/views/decidim/consultations/question_votes/_callout.html.erb @@ -1,7 +1,7 @@ <% total_published_questions = consultation.questions.published.count %> <% voted_questions = consultation.questions.published.joins(:votes).where(votes: { author: current_user }).distinct.count(:id) %> -<% alert_class = total_published_questions != voted_questions ? "alert" : "success" %> +<% alert_class = total_published_questions != voted_questions ? "warning" : "success" %>