Changed the CSS and JavaScript libraries from the hard-coded site-specific location to the settings with default to CDN download.

This commit is contained in:
2020-08-29 21:54:12 +08:00
parent d1ef253d9d
commit c0946481dd
14 changed files with 216 additions and 26 deletions

View File

@ -28,7 +28,7 @@ First written: 2020/7/1
{% block settings %}
{% blocktrans asvar title with account=request.resolver_match.kwargs.account.title prep_period=request.resolver_match.kwargs.period.prep_desc %}Cash Account for {{ account }} {{ prep_period }}{% endblocktrans %}
{% setvar "title" title %}
{% setvar "use_period_chooser" True %}
{% add_lib "period-chooser" %}
{% static "accounting/css/report.css" as file %}{% add_css file %}
{% endblock %}