{% load i18n %}
{% trans "User ID" %} | {% else %}{% trans "User" %} | {% endif %} {% if pperm.edit_participation %}{% trans "Actions" %} | {% endif %}{% trans "Status" %} | {% if not pperm.view_participant_masked_profile %}{% trans "Name" context "real name of a user" %} | {% endif %}{% trans "Role" %} | {% if not pperm.view_participant_masked_profile %}{% trans "Institutional ID" %} | {% endif %}{% trans "Tags" %} | {% for participation in participations %}
---|---|---|---|---|---|---|
{% if not pperm.view_participant_masked_profile %} {{ participation.user.username }} {% else %} {% if participation.user == user %}{% trans "Me" %}{% else %}{{ participation.user.get_masked_profile }}{% endif %} {% endif %} | {% if pperm.edit_participation %}{% trans "Edit" %} | {% endif %}{% trans participation.status %} | {% if not pperm.view_participant_masked_profile %}{{ participation.user.get_full_name }} | {% endif %}{{ participation.get_role_desc }} | {% if not pperm.view_participant_masked_profile %}{{ participation.user.institutional_id }} | {% endif %}{% for ptag in participation.tags.all %} {{ ptag.name }} {% endfor %} |