Projektarten: Zuordnungs-Mail heisst T17 (T16 ist Funktion bestellt)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c1f8ace348
commit
43c168ab54
4 files changed
+9
-8
No files matched your search
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<!--
|
||||
T16 · Neues Repo zuordnen
|
||||
T17 · Neues Repo zuordnen
|
||||
Betreff: {{betreff_vorsatz}}Neues Repo zuordnen: {{repo}}
|
||||
Absender: „WEBklar Kundenportal“ <Portal-Postfach>
|
||||
Empfänger: die Person, die das Repo in Gitea angelegt hat (employees.email)
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user