fix: Set css_style fallback

This commit is contained in:
Suraj Shetty 2021-01-21 15:33:36 +05:30
parent 0c0155e885
commit 17ed3fc270

View File

@ -5,13 +5,13 @@
<img
class="avatar-frame standard-image"
src="{{ person.image }}"
style="{{ css_style }}"
style="{{ css_style or '' }}"
title="{{ person.name }}">
</span>
{% else %}
<span
class="avatar-frame standard-image"
style="{{ css_style }}"
style="{{ css_style or '' }}"
title="{{ person.name }}">
{{ person.name[:1] }}
</span>