NDOJ/templates/site-logo-fragment.html

9 lines
609 B
HTML
Raw 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-04-09 00:26:59 +00:00
<img src="{{ static('icons/logo.png') }}" alt="{{ SITE_NAME }}" width="160" 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 %}