NDOJ/templates/site-logo-fragment.html

11 lines
757 B
HTML
Raw 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-24 02:36:44 +00:00
<img src="{{ request.participation.contest.logo_override_image|camo }}" alt="{{ SITE_NAME }}" height="44" style="border: none">
{% elif request.organization %}
<img src="{{ request.organization.logo_override_image|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-24 02:36:44 +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 %}
2020-06-10 18:41:49 +00:00
<img src="{{ static('icons/logo.png') }}" alt="{{ SITE_NAME }}" height="44"
2020-01-21 06:35:58 +00:00
onerror="this.src=&quot;{{ static('icons/logo.png') }}&quot;; this.onerror=null" style="border: none">
{% endif %}