diff --git a/fedireads/templates/snippets/follow_button.html b/fedireads/templates/snippets/follow_button.html index 109a4b20..fa718c8f 100644 --- a/fedireads/templates/snippets/follow_button.html +++ b/fedireads/templates/snippets/follow_button.html @@ -1,4 +1,4 @@ -{% if request.user == user %} +{% if request.user == user or not request.user.is_authenticated %} {% elif request.user in user.follower_requests.all %}
diff --git a/fedireads/templates/snippets/interaction.html b/fedireads/templates/snippets/interaction.html index c7a92ca7..0e0a7d30 100644 --- a/fedireads/templates/snippets/interaction.html +++ b/fedireads/templates/snippets/interaction.html @@ -1,6 +1,6 @@ {% load fr_display %}
- + {% if request.user.is_authenticated %}
{% csrf_token %} @@ -45,5 +45,20 @@
+ {% else %} + + + Comment + + + + Boost status + + + + Like status + + + {% endif %}