From c9372f38c585a3d87957568cecad49e62e07b61d Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Mon, 30 Sep 2024 14:14:53 +1300 Subject: [PATCH] only show link to read history if tracking is enabled #331 --- app/templates/base.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/templates/base.html b/app/templates/base.html index cb1cf8d0..5ea81870 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -197,7 +197,9 @@
  • {{ _('Edit profile & settings') }}
  • {{ _('Chats') }}
  • {{ _('Bookmarks') }}
  • -
  • {{ _('Read Posts') }}
  • + {% if current_user.is_authenticated and current_user.hide_read_posts -%} +
  • {{ _('Read Posts') }}
  • + {% endif -%}