{% from 'events/_affiliation.html' import render_affiliation %} {% macro render_person_row(person_data, event_has_registration_forms, person_schema, has_predefined_affiliations) %} {% set person = person_data.person %} {% if event_has_registration_forms %} {% set tooltip %} {% if person_data.registrations %} {%- trans %}The person has registered in:{% endtrans -%} {% for reg in person_data.registrations %}
{{ reg.registration_form.title }}
{% endfor %} {% else %} {%- trans %}The person has not registered yet{% endtrans -%} {% endif %} {% endset %} {% endif %} {{ person.display_full_name }} {% if person_data.roles.no_roles %} {% elif person.is_untrusted %} {% set untrusted_tooltip -%} {%- trans -%} This person is currently just an author of an abstract with no other ties to the event. Their data may have been provided by the submitter of the abstract. {%- endtrans -%} {%- endset %} {% endif %} {{ person.email }} {{ render_affiliation(person) }} {% for role, role_data in person_data.roles.items() %} {%- if role not in ('no_account', 'no_registration', 'no_roles', 'no_builtin_roles') %} {%- if role_data.elements -%} {{- role_data.code -}} {{ role_data.elements | length }} {% else %} {{- role_data.code -}} {%- endif %} {%- endif -%} {% endfor %} {% if person_data.roles.no_account %} {% trans %}No account{% endtrans %} {% endif %} {% if person.invited_dt %} {{ person.invited_dt | format_date(timezone=person_data.person.event.tzinfo) }} {% endif %} {% if person_data.has_event_person %} {% else %} {% endif %} {% if person_data.has_event_person and person_data.person.get_unsynced_data() %} {% endif %} {% if person_data.has_event_person and person_data.roles.no_builtin_roles %} {% endif %} {% endmacro %}