From 3310ca7eb22fb56b97602591890d5121864ad516 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 29 Nov 2024 11:08:32 -0500 Subject: [PATCH] fix data --- wrenchboard/email/PROMO/promo_alert.mailfile | 14 +++++++------- wrenchboard/src/shared_tool/site_crons.cc | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wrenchboard/email/PROMO/promo_alert.mailfile b/wrenchboard/email/PROMO/promo_alert.mailfile index 42d29a04..68ac9ea8 100644 --- a/wrenchboard/email/PROMO/promo_alert.mailfile +++ b/wrenchboard/email/PROMO/promo_alert.mailfile @@ -14,7 +14,7 @@ img {height: auto;} .borderbottom {border-bottom: 1px solid #f2eeed;} .subhead {font-size: 12px; color: #000000; font-family: sans-serif; letter-spacing: 3px;} .h1, .h2, .bodycopy {color: darkgreen; font-family: sans-serif;} -.h1 {font-size: 33px; line-height: 38px; font-weight: bold;} +.h1 {font-size: 25px; line-height: 38px; font-weight: bold;} .bodycopy {font-size: 14px; line-height: 20px; text-align:center; font-weight:bolder;} .rr{text-align:right;} .button {text-align: center; font-size: 16px; font-family: sans-serif; font-weight: bold; padding: 0 30px 0 30px;} @@ -69,15 +69,15 @@ img {height: auto;} - - + + @@ -87,7 +87,7 @@ img {height: auto;} @@ -97,10 +97,10 @@ img {height: auto;} - + diff --git a/wrenchboard/src/shared_tool/site_crons.cc b/wrenchboard/src/shared_tool/site_crons.cc index f206157b..9931a8db 100644 --- a/wrenchboard/src/shared_tool/site_crons.cc +++ b/wrenchboard/src/shared_tool/site_crons.cc @@ -267,7 +267,7 @@ long RefreshPromoActivities(CVars in, CVars &out){ CVars rec; map_to_cvars(f, rec); - rec["points"] = "0"; rec["points"].set_valid( true ); + //rec["points"] = "0"; rec["points"].set_valid( true ); rec["today_signup"] = "0"; rec["today_signup"].set_valid( true ); rec["today_signup_3days"] = "0"; rec["today_signup_3days"].set_valid( true ); rec["today_signup_7days"] = "0"; rec["today_signup_7days"].set_valid( true );

Date:{{report_date}}

Points: {{points}}

Date : {{report_date}}

Points : {{points}}

Today Sign-up
-
People that completed the sign-up today
+
People that completed the sign-up today
{{today_signup}}
Today Sign-up 3 days
-
People that completed the sign-up in last 3 days
+
People that completed the sign-up in last 3 days
{{today_signup_3days}}
Today Sign-up 7 days
-
People that completed the sign-up in last 7 days
+
People that completed the sign-up in last 7 days
{{today_signup_7days}}{{today_signup_3days}}