NDOJ/templates/site-logo-fragment.html

11 lines
744 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">
2023-01-24 02:36:44 +00:00
{% elif request.organization %}
2023-01-27 23:11:10 +00:00
<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-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 %}
2023-01-27 23:11:10 +00:00
<img src="{{ static('icons/logo.png') }}" alt="{{ SITE_NAME }}" height="44"
onerror="this.src=&quot;{{ static('icons/logo.png') }}&quot;; this.onerror=null" style="border: none">
2020-01-21 06:35:58 +00:00
{% endif %}