Applied the title_case filter to the account titles in the template of the account list in the accounting application.

This commit is contained in:
依瑪貓 2020-08-25 13:47:44 +08:00
parent 56f08786ad
commit 8c9d5c2a35

View File

@ -59,7 +59,7 @@ First written: 2020/8/7
<tr class="{% if account.is_parent_and_in_use %} table-danger {% endif %}">
<td>{{ account.code }}</td>
<td>
{{ account.title }}
{{ account.title|title_case }}
{% if account.is_parent_and_in_use %}
<span class="badge badge-danger badge-pill">
{{ _("Parent Account In Use")|force_escape }}