Merge branch 'word-of-mouth-email' into 'master'
Add word of mouth requests See merge request saburly/marketalarm/web!111
This commit was merged in pull request #111.
This commit is contained in:
@@ -9,6 +9,7 @@ const { AD_CATEGORY, AD_TYPE, EMAIL_FREQUENCY } = require("../common/enums");
|
||||
|
||||
//Tag to recognize staging from development
|
||||
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 generateEmailFooter = (searchRequestId, emailFrequencyTitle) => {
|
||||
return ` <div>Trenutno ste prijavljeni da obavještenja o novim nekretninama primate <strong>${emailFrequencyTitle.toLowerCase()} </strong>.</div>
|
||||
@@ -69,6 +70,8 @@ const generateNotificationEmail = (
|
||||
${moreRealEstates}
|
||||
</div>
|
||||
<br/>
|
||||
${wordOfMouthRequest}
|
||||
<br/>
|
||||
${emailFooter}`;
|
||||
};
|
||||
|
||||
@@ -132,6 +135,9 @@ const generateNewSearchRequestEmail = (searchRequest, matchingRealEstates) => {
|
||||
</div>
|
||||
${matchingRealEstates.length > 0 ? instantRealEstatesText : ""}
|
||||
<br/>
|
||||
<br/>
|
||||
${wordOfMouthRequest}
|
||||
<br/>
|
||||
${emailFooter}`;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user