{% load common_extras %} {% equal profile_mail.profile user.contributor.profile as is_mail_owner %} {{ profile_mail.email }} {{ profile_mail.primary|yesno:'Primary,Alternative' }} {% if profile_mail.still_valid %} {% include "bi/check-circle-fill.html" %} {% else %} {% include "bi/x-circle-fill.html" %} {% endif %} {% if profile_mail.verified and profile_mail.verification_token %} {% include "bi/check-circle-fill.html" %} {% elif profile_mail.verified and not profile_mail.verification_token %} {% include "bi/question-circle-fill.html" %} {% elif not profile_mail.has_token_expired %} {% include "bi/clock-fill.html" %} {% else %} {% include "bi/x-circle-fill.html" %} {% endif %} {% if profile_mail.added_by %}{{ profile_mail.added_by }}{% endif %}
{% if is_mail_owner or perms.scipost.can_validate_profile_emails %} {% endif %} {% if is_mail_owner or perms.scipost.can_verify_profile_emails %} {% endif %} {% if is_mail_owner or perms.scipost.can_mark_profile_emails_primary or perms.scipost.can_validate_profile_emails %} {% endif %}
{% if perms.scipost.can_delete_profile_emails %} {% endif %}