{% comment %}
Used by: views.contacts_and_people, entity_tags.people_with_roles
When provided with a list of people, then for each one will also display the best membership it can find.
{% endcomment %}
{% load thumbnail %}
{% for person in people %}
{% thumbnail person.person.image.file person_thumbnail_size subject_location=person.person.image.subject_location crop as personimage %}
{{ person }}
{{ person.membership.role}}{% if entity != person.membership.entity %} ({% if entity.get_website != person.membership.entity.get_website and person.membership.entity.get_website %}{{ person.membership.entity.short_name }}{% else %}{{ person.membership.entity.short_name }}{% endif %}){% endif %}