From 509d97c2c01d553679db73a5451ce1c29ab049ef Mon Sep 17 00:00:00 2001 From: Rodrigo Primo Date: Thu, 27 Jan 2022 15:10:09 -0300 Subject: [PATCH] Change the colors and text used when displaying clicked stats [MAILPOET-3324] --- mailpoet/lib/Twig/Functions.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mailpoet/lib/Twig/Functions.php b/mailpoet/lib/Twig/Functions.php index 0b0fad5b95..933c8b9166 100644 --- a/mailpoet/lib/Twig/Functions.php +++ b/mailpoet/lib/Twig/Functions.php @@ -272,11 +272,11 @@ class Functions extends AbstractExtension { public function clickedStatsColor($clicked) { if ($clicked > 3) { - return '#2993ab'; + return '#7ed321'; } elseif ($clicked > 1) { - return '#f0b849'; + return '#ff9f00'; } else { - return '#d54e21'; + return '#f559c3'; } } @@ -292,11 +292,11 @@ class Functions extends AbstractExtension { public function clickedStatsText($clicked) { if ($clicked > 3) { - return __('EXCELLENT', 'mailpoet'); + return __('Excellent', 'mailpoet'); } elseif ($clicked > 1) { - return __('GOOD', 'mailpoet'); + return __('Good', 'mailpoet'); } else { - return __('BAD', 'mailpoet'); + return __('Average', 'mailpoet'); } }