From d60230f975014968f47fcfd1ddb704451c398fa3 Mon Sep 17 00:00:00 2001 From: Greg Sarjeant Date: Fri, 15 Aug 2025 18:43:31 +0000 Subject: [PATCH] Only show delete icon when logged in. (#73) Check for a valid login session before showing delete icons on ticks. Reviewed-on: https://gitea.subcultureofone.org/greg/tkr/pulls/73 Co-authored-by: Greg Sarjeant Co-committed-by: Greg Sarjeant --- src/View/TicksView/TicksView.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/View/TicksView/TicksView.php b/src/View/TicksView/TicksView.php index d9e1646..97d8982 100644 --- a/src/View/TicksView/TicksView.php +++ b/src/View/TicksView/TicksView.php @@ -23,14 +23,14 @@ class TicksView { $relativeTime = Util::relative_time($tick['timestamp']); ?>
  • - +
    " class="delete-tick-form">
    - +