ui: rename email sender and subject to 'Alerte Termene' instead of ArchiTools
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ services:
|
||||
- BREVO_SMTP_USER=a2d94b001@smtp-brevo.com
|
||||
- BREVO_SMTP_PASS=xsmtpsib-c2f5dfe1a7809c962d8907afafdc9edc1ff7e74340518539de8f8eccfd1dcc90-ipkNHpvN9RByv1V6
|
||||
- NOTIFICATION_FROM_EMAIL=noreply@beletage.ro
|
||||
- NOTIFICATION_FROM_NAME=ArchiTools
|
||||
- NOTIFICATION_FROM_NAME=Alerte Termene
|
||||
- NOTIFICATION_CRON_SECRET=1547a198feca43af6c05622588c6d3b820bad5163b8c20175b2b5bbf8fc1a987
|
||||
depends_on:
|
||||
dwg2dxf:
|
||||
|
||||
@@ -263,7 +263,7 @@ function renderDigestHtml(
|
||||
<div style="background: #ffffff; border-radius: 8px; border: 1px solid #e5e7eb; overflow: hidden;">
|
||||
<!-- Header -->
|
||||
<div style="background: #111827; padding: 20px 24px;">
|
||||
<h1 style="margin: 0; font-size: 18px; font-weight: 600; color: #ffffff;">ArchiTools — Digest zilnic</h1>
|
||||
<h1 style="margin: 0; font-size: 18px; font-weight: 600; color: #ffffff;">Alerte Termene — Digest zilnic</h1>
|
||||
<p style="margin: 4px 0 0 0; font-size: 13px; color: #9ca3af;">${companyName} · ${formatDateRo(date)}</p>
|
||||
</div>
|
||||
|
||||
@@ -359,7 +359,7 @@ export async function runDigest(): Promise<DigestResult> {
|
||||
today,
|
||||
);
|
||||
|
||||
const subject = `[ArchiTools] ${totalItems} alerte - ${COMPANY_LABELS[company] ?? company} (${formatDateRo(today)})`;
|
||||
const subject = `${totalItems} alerte termene - ${COMPANY_LABELS[company] ?? company} (${formatDateRo(today)})`;
|
||||
|
||||
try {
|
||||
await sendEmail({
|
||||
@@ -468,7 +468,7 @@ export async function sendTestDigest(): Promise<DigestResult> {
|
||||
|
||||
const companyName = COMPANY_LABELS[pref.company] ?? pref.company;
|
||||
const html = renderDigestHtml(testSections, companyName, today);
|
||||
const subject = `[ArchiTools TEST] 4 alerte - ${companyName} (${formatDateRo(today)})`;
|
||||
const subject = `[TEST] 4 alerte termene - ${companyName} (${formatDateRo(today)})`;
|
||||
|
||||
try {
|
||||
await sendEmail({ to: pref.email, subject, html });
|
||||
|
||||
Reference in New Issue
Block a user