From 6337eaff81ad5aac5e636f4ace2fcb7d63e76b7a Mon Sep 17 00:00:00 2001 From: Verox001 Date: Tue, 5 Mar 2024 09:44:54 +0100 Subject: [PATCH 1/2] Removed habittracker content when not logged in --- templates/index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index e671e80..3729e63 100644 --- a/templates/index.html +++ b/templates/index.html @@ -34,13 +34,18 @@
+ {% if current_user.is_authenticated %} {% include 'components/heatmap.html' %} + {% endif %} + {% if current_user.is_authenticated %} {% include 'components/habit_lists.html' %} + {% endif %} - + {% if current_user.is_authenticated %} {% include 'components/delete_button.html' %} + {% endif %}
From 1777ee28aff13efbbde4094055ebee36f81c2bb3 Mon Sep 17 00:00:00 2001 From: janphilippweinsheimer Date: Tue, 5 Mar 2024 09:45:14 +0100 Subject: [PATCH 2/2] 120 Flammen --- templates/components/habit_lists.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/components/habit_lists.html b/templates/components/habit_lists.html index 832e9ea..a111a4a 100644 --- a/templates/components/habit_lists.html +++ b/templates/components/habit_lists.html @@ -129,7 +129,7 @@
{% if not habit.streak == 0 %} - {{ habit.streak }}20 🔥 + {{ habit.streak }} 🔥 {% endif %}