fix value error on missing org logo
This commit is contained in:
parent
0f8e0b3c17
commit
f9cc37fdbf
1 changed files with 4 additions and 0 deletions
|
|
@ -107,7 +107,11 @@
|
|||
<dt>Beobachtet von</dt>
|
||||
<dd>
|
||||
<a href="{{ object.organization.website }}">
|
||||
{% if object.organization.logo %}
|
||||
<img src="{{ object.organization.logo.url }}" class="img-sm" alt="{{ object.organization.name }}">
|
||||
{% else %}
|
||||
{{ object.organization.name }}
|
||||
{% endif %}
|
||||
</a>
|
||||
</dd>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue