diff --git a/bookwyrm/templates/notifications/items/follow_request.html b/bookwyrm/templates/notifications/items/follow_request.html index 804c35282..320c69e43 100644 --- a/bookwyrm/templates/notifications/items/follow_request.html +++ b/bookwyrm/templates/notifications/items/follow_request.html @@ -3,6 +3,10 @@ {% load i18n %} {% load utilities %} +{% block primary_link %}{% spaceless %} +{% url 'user-followers' request.user.localname %} +{% endspaceless %}{% endblock %} + {% block icon %} {% endblock %} diff --git a/bookwyrm/templates/notifications/items/layout.html b/bookwyrm/templates/notifications/items/layout.html index b19f87edd..3830e7e40 100644 --- a/bookwyrm/templates/notifications/items/layout.html +++ b/bookwyrm/templates/notifications/items/layout.html @@ -27,31 +27,29 @@ {% endif %}
- {% if related_user_count == 1 %} - {% with user=related_users.first %} - {% spaceless %} - - {% include 'snippets/avatar.html' with user=user %} - - {% endspaceless %} - {% endwith %} - {% endif %} + {% if related_user_count == 1 %} + {% with user=related_users.first %} + {% spaceless %} + + {% include 'snippets/avatar.html' with user=user %} + + {% endspaceless %} + {% endwith %} + {% endif %} - {% with related_user=related_users.first.display_name %} - {% with related_user_link=related_users.first.local_path %} - {% with second_user=related_users.1.display_name %} - {% with second_user_link=related_users.1.local_path %} - {% with other_user_count=related_user_count|add:"-1" %} - {% with other_user_display_count=other_user_count|intcomma %} - {% block description %}{% endblock %} - {% endwith %} - {% endwith %} - {% endwith %} - {% endwith %} - {% endwith %} - {% endwith %} -
+ {% with related_user=related_users.first.display_name %} + {% with related_user_link=related_users.first.local_path %} + {% with second_user=related_users.1.display_name %} + {% with second_user_link=related_users.1.local_path %} + {% with other_user_count=related_user_count|add:"-1" %} + {% with other_user_display_count=other_user_count|intcomma %} + {% block description %}{% endblock %} + {% endwith %} + {% endwith %} + {% endwith %} + {% endwith %} + {% endwith %} + {% endwith %}