Added the currently-specified subject to the template variables, and use it in the template.

This commit is contained in:
依瑪貓
2020-07-08 11:07:00 +08:00
parent 149aa8391a
commit fc2e89ca1a
2 changed files with 13 additions and 5 deletions

View File

@ -25,7 +25,7 @@ First written: 2020/7/1
{% block settings %}
{% trans "Cash Account for {} in {}" context "Accounting|" as title_format %}
{% format title_format "庫存現金" period.description as title %}
{% format title_format subject.title_zhtw period.description as title %}
{% setvar "title" title %}
{% endblock %}