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>
25 lines
624 B
PHP
25 lines
624 B
PHP
<?php
|
|
/**
|
|
* @var \App\View\AppView $this
|
|
* @var \App\Model\Entity\Poll $poll
|
|
* @var string $adminUrl
|
|
* @var \Cake\I18n\DateTime $expires
|
|
*/
|
|
?>
|
|
<?= __('Hallo,') ?>
|
|
|
|
|
|
<?= __('deine Umfrage "{0}" wird am {1} automatisch gelöscht, einschließlich aller Folien, Antworten und Bilder.', $poll->title, $expires->format('d.m.Y')) ?>
|
|
|
|
|
|
<?= __('Möchtest du die Ergebnisse behalten, sichere sie vorher in der Verwaltung als PDF:') ?>
|
|
|
|
|
|
<?= $adminUrl ?>
|
|
|
|
|
|
<?= __('Wichtig: Wer diesen Link kennt, kann die Umfrage bearbeiten. Gib ihn nicht weiter.') ?>
|
|
|
|
|
|
<?= __('Du brauchst die Umfrage nicht mehr? Dann musst du nichts tun.') ?>
|