NDOJ/templates/site-logo-fragment.html

13 lines
958 B
HTML
Raw Permalink Normal View History

2022-01-10 11:13:46 +00:00
{% if request.in_contest_mode and request.participation.contest.logo_override_image %}
2023-01-27 23:11:10 +00:00
<img src="{{ request.participation.contest.logo_override_image|camo }}" alt="{{ SITE_NAME }}" height="44" style="border: none">
2024-07-18 02:20:31 +00:00
{% elif request.organization and request.organization.organization_image %}
<img src="{{ request.organization.organization_image.url|camo }}" alt="{{ SITE_NAME }}" height="44" style="border: none">
{% elif organization_image is defined and organization_image %}
<img src="{{ organization_image.url|camo }}" alt="{{ SITE_NAME }}" height="44" style="border: none">
2020-01-21 06:35:58 +00:00
{% elif logo_override_image is defined and logo_override_image %}
2023-01-27 23:11:10 +00:00
<img src="{{ logo_override_image|camo }}" alt="{{ SITE_NAME }}" height="44" style="border: none">
2020-01-21 06:35:58 +00:00
{% else %}
<img src="{{ static('icons/logo.svg') }}" alt="{{ SITE_NAME }}" height="44"
2023-01-27 23:11:10 +00:00
onerror="this.src=&quot;{{ static('icons/logo.png') }}&quot;; this.onerror=null" style="border: none">
2020-01-21 06:35:58 +00:00
{% endif %}