diff --git a/bookwyrm/templates/goal.html b/bookwyrm/templates/goal.html index 32b5062d..22aba08e 100644 --- a/bookwyrm/templates/goal.html +++ b/bookwyrm/templates/goal.html @@ -1,4 +1,4 @@ -{% extends 'user/user_layout.html' %} +{% extends 'user/layout.html' %} {% load i18n %} {% block header %} diff --git a/bookwyrm/templates/user/followers.html b/bookwyrm/templates/user/followers.html deleted file mode 100644 index b294db90..00000000 --- a/bookwyrm/templates/user/followers.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends 'user/user_layout.html' %} -{% load i18n %} -{% load bookwyrm_tags %} - -{% block header %} -
{% blocktrans with date=user.created_date|naturaltime %}Joined {{ date }}{% endblocktrans %}
- {% blocktrans count counter=user.followers.count %}{{ counter }} follower{% plural %}{{ counter }} followers{% endblocktrans %}, - {% blocktrans with counter=user.following.count %}{{ counter }} following{% endblocktrans %} + {% if is_self %} + + {% blocktrans count counter=user.followers.count %}{{ counter }} follower{% plural %}{{ counter }} followers{% endblocktrans %}, + {% blocktrans with counter=user.following.count %}{{ counter }} following{% endblocktrans %} + + {% elif request.user.is_authenticated %} + + {% mutuals_count user as mutuals %} + + {% blocktrans with mutuals_display=mutuals|intcomma count counter=mutuals %}{{ mutuals_display }} follower you follow{% plural %}{{ mutuals_display }} followers you follow{% endblocktrans %} + + + {% endif %}