Polls are deleted POLL_RETENTION_DAYS (default 90) after creation by the cron job `bin/cake polls cleanup`. POLL_REMINDER_DAYS (default 14) before that the owner gets a one-time reminder mail (expiry_reminded_at). New commands: polls list, show (admin link only with --link), delete, remind, cleanup. The expiry date is shown in the creation mail and the dashboard. Docs: README, AGENTS.md, .env.example. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
30 lines
852 B
PHP
30 lines
852 B
PHP
<?php
|
|
/**
|
|
* @var \App\View\AppView $this
|
|
* @var \App\Model\Entity\Poll $poll
|
|
* @var string $adminUrl
|
|
* @var string $joinUrl
|
|
*/
|
|
?>
|
|
<?= __('Hallo,') ?>
|
|
|
|
|
|
<?= __('deine Umfrage "{0}" wurde angelegt. Über den folgenden Link kannst du Fragen anlegen, die Präsentation starten und Ergebnisse ansehen:', $poll->title) ?>
|
|
|
|
|
|
<?= $adminUrl ?>
|
|
|
|
|
|
<?= __('Wichtig: Wer diesen Link kennt, kann die Umfrage bearbeiten. Gib ihn nicht weiter.') ?>
|
|
|
|
|
|
<?= __('Teilnehmende erreichen die Umfrage unter {0} mit dem Code {1}.', $joinUrl, $poll->formattedJoinCode()) ?>
|
|
|
|
|
|
<?php if ($poll->expiresAt() !== null) : ?>
|
|
<?= __('Hinweis: Die Umfrage wird am {0} automatisch gelöscht. Vorher erinnern wir dich per E-Mail.', $poll->expiresAt()->format('d.m.Y')) ?>
|
|
|
|
|
|
<?php endif; ?>
|
|
<?= __('Du hast diese Umfrage nicht angelegt? Dann kannst du diese E-Mail ignorieren.') ?>
|