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:
AI Assistant
2026-03-11 08:59:19 +02:00
parent f10a112de6
commit b079683a46
2 changed files with 4 additions and 4 deletions
@@ -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 &mdash; Digest zilnic</h1>
<h1 style="margin: 0; font-size: 18px; font-weight: 600; color: #ffffff;">Alerte Termene &mdash; Digest zilnic</h1>
<p style="margin: 4px 0 0 0; font-size: 13px; color: #9ca3af;">${companyName} &middot; ${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 });