From 0752ccfe72f96fbb302f23fc8df6d37b51ab65a9 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Tue, 10 Dec 2024 15:41:40 +1300 Subject: [PATCH] ugh --- app/templates/post/post_options.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/post/post_options.html b/app/templates/post/post_options.html index 535ffa0a..5f358e64 100644 --- a/app/templates/post/post_options.html +++ b/app/templates/post/post_options.html @@ -10,7 +10,7 @@
-
{{ _('Options for "%(post_title)s"', post_title=post.title) }} {% include 'post/_post_notification_toggle.html' -%}
+
{{ _('Options for "%(post_title)s"', post_title=post.title) }} {% if current_user.is_authenticated -%}{% include 'post/_post_notification_toggle.html' -%}{% endif -%}
    {% if current_user.is_authenticated -%} {% if post.user_id == current_user.id -%}