{% load i18n %} {% load avatar_tags %} {% if is_me %}

{% trans "Your Tribes" %}

{% if other_user.tribe_set.all %} {% for tribe in other_user.tribe_set.all %} {{ tribe.name }} {% endfor %} {% else %} {% url tribe_thing_list "" as tribe_url %}

{% blocktrans %}You are not yet a member of any tribes.{% endblocktrans %}

{% endif %}

{% trans "Your Friends" %}

{% if other_friends %} {% for friendship in other_friends %} {% if forloop.counter0|divisibleby:"3" %}{% endif %} {% if forloop.counter0|add:"1"|divisibleby:"3" %}{% endif %} {% endfor %} {% if other_friends|length|divisibleby:"3" %}{% else %}{% endif %}
{% avatar friendship.friend 40 %}
{% else %}

{% blocktrans %}None. You should look at the list of profiles and see if there's anyone you know.{% endblocktrans %}

{% endif %}
{% endif %} {% if is_friend %}

{% blocktrans %}{{ other_user }}'s Tribes{% endblocktrans %}

{% if other_user.tribe_set.all %} {% for tribe in other_user.tribe_set.all %} {{ tribe.name }} {% endfor %} {% else %}

{% blocktrans %}Not yet a member of any tribes.{% endblocktrans %}

{% endif %}

{% blocktrans %}{{ other_user }}'s Friends{% endblocktrans %}

{% for friendship in other_friends %} {% if forloop.counter0|divisibleby:"3" %}{% endif %} {% if forloop.counter0|add:"1"|divisibleby:"3" %}{% endif %} {% endfor %} {% if other_friends|length|divisibleby:"3" %}{% else %}{% endif %}
{% avatar friendship.friend 40 %}
{% endif %}