aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/notification.php
diff options
context:
space:
mode:
authorwinter2025-03-21 21:29:53 +0000
committerwinter2025-03-21 21:29:53 +0000
commit9a6a54e2d6a6f7bff8ca5467c8a2680f4ad735fb (patch)
treee3ad375ec978eadfef4df1719cd89877128109db /templates/notification.php
parent5e8fa866d9c390e8f364ae9de8cd94bb5a832751 (diff)
add timestamps to notifications
Diffstat (limited to 'templates/notification.php')
-rw-r--r--templates/notification.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/notification.php b/templates/notification.php
index 0b105bd..0a54a6f 100644
--- a/templates/notification.php
+++ b/templates/notification.php
@@ -20,6 +20,9 @@
<?php endif; ?>
<span class="body"><?= htmlspecialchars($body, double_encode: false) ?></span>
</div>
+ <div class="notifTimestamp">
+ <?= format_datetime($timestamp) ?>
+ </div>
<div hidden class="notifier" <?php if ($unread ?? false): ?> _="
on load
set title to innerText of previous .title