{% for fellow in page_obj %} {% if "edadmin" in user_roles %} {{ fellow.contributor }} {% else %} {{ fellow.contributor }} {% endif %} {% if fellow.guest %}Guest{% elif fellow.senior %}Senior{% else %}Regular{% endif %} {{ fellow.contributor.profile.acad_field }}
{% for specialty in fellow.contributor.profile.specialties.all %}
{{ specialty.code }}
{% endfor %} {{ fellow.start_date|default:'No start date' }}
{{ fellow.until_date|default:'No end date' }}
{{ fellow.contributor.editorial_assignments.ongoing.count }} {{ fellow.contributor.editorial_assignments.last_year.count }}
{{ fellow.contributor.editorial_assignments.last_two_years.count }}
[{{ fellow.contributor.editorial_assignments.count }}]
{{ fellow.contributor.editorial_assignments.last_year.accepted.count }}
{{ fellow.contributor.editorial_assignments.last_two_years.accepted.count }}
[{{ fellow.contributor.editorial_assignments.accepted.count }}]
{{ fellow.contributor.editorial_assignments.last_year.declined.count }}
{{ fellow.contributor.editorial_assignments.last_two_years.declined.count }}
[{{ fellow.contributor.editorial_assignments.declined.count }}]
{{ fellow.contributor.editorial_assignments.last_year.deprecated.count }}
{{ fellow.contributor.editorial_assignments.last_two_years.deprecated.count }}
[{{ fellow.contributor.editorial_assignments.deprecated.count }}]
{{ fellow.contributor.editorial_assignments.last_year.completed.count }}
{{ fellow.contributor.editorial_assignments.last_two_years.completed.count }}
[{{ fellow.contributor.editorial_assignments.completed.count }}]
{% empty %} No fellowships found {% endfor %} {% if page_obj.has_next %} {% endif %}