From e591374bb4b7d231fadf99d2e278806e53971919 Mon Sep 17 00:00:00 2001 From: winter Date: Tue, 28 Jan 2025 20:34:49 +0000 Subject: display attachments on notes --- templates/note.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'templates/note.php') diff --git a/templates/note.php b/templates/note.php index 4d05554..c69531b 100644 --- a/templates/note.php +++ b/templates/note.php @@ -77,6 +77,23 @@ if ($user != null) { + attachments) > 0): ?> +
+ attachments as $attachment): ?> +
+ type, 'image/')): ?> + + + + + description ?? basename($attachment->href) ?> + + +
+ +
+ +