Projektarten: Zuordnungs-Mail heisst T17 (T16 ist Funktion bestellt)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-09-30 18:32:12 +00:00
1 parent c1f8ace348
commit 43c168ab54
4 files changed
+9 -8

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@ import { sendStaffMail } from './mailer.js'
import { findEmployeeForPusher } from './pushTimeMail.js'
/**
* Mail "Neues Repo zuordnen" (Vorlage T16): wer in Gitea ein Repo anlegt, bekommt eine Mail mit
* Mail "Neues Repo zuordnen" (Vorlage T17): wer in Gitea ein Repo anlegt, bekommt eine Mail mit
* Knopf in die Zuordnung im Ticketsystem. Eine Erinnerung nach 24 Stunden, danach nichts mehr.
*/
@@ -53,7 +53,7 @@ export async function sendRepoAssignMail(project, { giteaLogin, reminder = false
const { date, time: hhmm } = berlinDateTime(Number.isNaN(created.getTime()) ? new Date() : created)
const attempts = Number(project.assignMailAttempts || 0) + 1
const message = {
template: 'T16',
template: 'T17',
values: {
betreff_vorsatz: reminder ? 'Erinnerung: ' : '',
vorname: String(employee.displayName || '').trim().split(/\s+/)[0] || 'du',