NDOJ/templates/site-logo-fragment.html

9 lines
597 B
HTML
Raw Permalink Normal View History

2020-01-21 06:35:58 +00:00
{% if request.in_contest and request.participation.contest.logo_override_image %}
<img src="{{ request.participation.contest.logo_override_image|camo }}" alt="{{ SITE_NAME }}" height="44" style="border: none">
{% elif logo_override_image is defined and logo_override_image %}
<img src="{{ logo_override_image|camo }}" alt="{{ SITE_NAME }}" height="44" style="border: none">
{% 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 %}