Added the format template tag that does sprintf-like string format in the templates.
This commit is contained in:
1 parent
db860619f1
commit
d047be7ba9
2 files changed
+18
-1
No files matched your search
@@ -24,7 +24,8 @@ First written: 2020/7/1
|
||||
{% load humanize %}
|
||||
|
||||
{% block settings %}
|
||||
{% trans "Cash Report" context "Accounting|" as title %}
|
||||
{% trans "Cash Account for {} in {}" context "Accounting|" as title_format %}
|
||||
{% format title_format "庫存現金" period_parser.description as title %}
|
||||
{% setvar "title" title %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in new issue
Block a user