Commit 9bdec633 authored by Julien Fastré's avatar Julien Fastré

fix error when birthdate == null

parent 983ed7a5
Pipeline #55618 failed with stages
in 44 seconds
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
{% endspaceless %} {% endspaceless %}
</a> </a>
</td> </td>
<td>{{ person.birthdate|localizeddate('long', 'none', app.request.locale) }}</td> <td>{% if person.birthdate is not null %}{{ person.birthdate|localizeddate('long', 'none', app.request.locale) }}{% else %}&nbsp;{% endif %}</td>
<td> <td>
{% if person.nationality is not null %}{{ person.nationality.name|localize_translatable_string }}{% else %}{{ 'Without nationality'|trans }}{% endif %} {% if person.nationality is not null %}{{ person.nationality.name|localize_translatable_string }}{% else %}{{ 'Without nationality'|trans }}{% endif %}
</td> </td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment