{% load user_tags %}

{{ profile.user.username }}'s friends

{% if profile.user == user %} {% with count=profile.user.requests.count %} {% if count > 0 %} you have {{ count }} pending request{{ count|pluralize:'s' }} {% endif %} {% endwith %} {% endif %}
{% for friend in friends %} {% if forloop.first %} {% endif %} {% empty %}

No friends yet.

{% endfor %}