fix: Use abbr method for abbr

This commit is contained in:
Suraj Shetty 2021-01-21 16:47:04 +05:30
parent 2dcdeb8231
commit 8670dda5b7

View File

@ -13,7 +13,7 @@
class="avatar-frame standard-image" class="avatar-frame standard-image"
style="{{ css_style or '' }}" style="{{ css_style or '' }}"
title="{{ person.name }}"> title="{{ person.name }}">
{{ person.name[:1] }} {{ frappe.utils.get_abbr(person.name) }}
</span> </span>
{% endif %} {% endif %}
{% endfor %} {% endfor %}