{% if request.in_contest_mode and request.participation.contest.logo_override_image %}
{% elif request.organization and request.organization.organization_image %}
{% elif organization_image is defined and organization_image %}
{% elif logo_override_image is defined and logo_override_image %}
{% else %}
{% endif %}