Fix value error for new org image
This commit is contained in:
parent
9dd779f4fa
commit
6421e4f5be
2 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
{% if request.in_contest_mode 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 request.organization %}
|
||||
{% 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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue