Merge branch 'improve-wom' into 'master'
Improve styling of WOM message See merge request saburly/marketalarm/web!112
This commit was merged in pull request #112.
This commit is contained in:
@@ -9,7 +9,7 @@ const { AD_CATEGORY, AD_TYPE, EMAIL_FREQUENCY } = require("../common/enums");
|
|||||||
|
|
||||||
//Tag to recognize staging from development
|
//Tag to recognize staging from development
|
||||||
const stagingTag = STAGING ? "[STAGING] " : "";
|
const stagingTag = STAGING ? "[STAGING] " : "";
|
||||||
const wordOfMouthRequest = `Molimo vas recite svojim prijateljima za Kivi - što više korisnika budemo imali, moći ćemo više agencija uključiti i više nekretnina imati u bazi. Hvala!`
|
const wordOfMouthRequest = `Molimo vas <strong>recite svojim prijateljima</strong> za Kivi - što više korisnika budemo imali, moći ćemo više agencija uključiti i više nekretnina imati u bazi. Hvala!`
|
||||||
|
|
||||||
const generateEmailFooter = (searchRequestId, emailFrequencyTitle) => {
|
const generateEmailFooter = (searchRequestId, emailFrequencyTitle) => {
|
||||||
return ` <div>Trenutno ste prijavljeni da obavještenja o novim nekretninama primate <strong>${emailFrequencyTitle.toLowerCase()} </strong>.</div>
|
return ` <div>Trenutno ste prijavljeni da obavještenja o novim nekretninama primate <strong>${emailFrequencyTitle.toLowerCase()} </strong>.</div>
|
||||||
@@ -72,6 +72,7 @@ const generateNotificationEmail = (
|
|||||||
<br/>
|
<br/>
|
||||||
${wordOfMouthRequest}
|
${wordOfMouthRequest}
|
||||||
<br/>
|
<br/>
|
||||||
|
<br/>
|
||||||
${emailFooter}`;
|
${emailFooter}`;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -138,6 +139,7 @@ const generateNewSearchRequestEmail = (searchRequest, matchingRealEstates) => {
|
|||||||
<br/>
|
<br/>
|
||||||
${wordOfMouthRequest}
|
${wordOfMouthRequest}
|
||||||
<br/>
|
<br/>
|
||||||
|
<br/>
|
||||||
${emailFooter}`;
|
${emailFooter}`;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user