Dont try to add css links if we create an "xls" file.

Task #072367
This commit is contained in:
Juanjo Garcia 2023-01-03 14:58:48 +01:00
parent 114c3ead2b
commit 588dec0618
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,9 @@
<head>
<meta charset="utf-8">
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" href="{{ 'account_reports/templates/base.css'|modulepath }}"/>
{% if data['output_format'] and data['output_format'] != 'xls' %}
<link rel="stylesheet" href="{{ 'account_reports/templates/base.css'|modulepath }}"/>
{% endif %}
{% block style %}{% endblock %}
</head>