From 5a6300f473b8be0e90a16e2b5992299b0ea1ddff Mon Sep 17 00:00:00 2001 From: winter Date: Mon, 27 Jan 2025 19:45:39 +0000 Subject: context menus and note deletion --- 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 e5c2942..74ce566 100644 --- a/templates/note.php +++ b/templates/note.php @@ -94,6 +94,23 @@ if ($user != null) { 'disabled' => $actionsDisabled ]); ?> +
+ + author == $user?->actor || $user?->isAdmin): ?> +
  • + +
  • + + +
    $note]); ?> -- cgit v1.3