Mercurial > libervia-backend
changeset 3747:dd1d1a582438
tools (common/template): fix setting of `css_files_noscript` when `css_file` is specified
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 22 Mar 2022 17:00:42 +0100 |
parents | fa3dc4ed7906 |
children | 53a8b50d69ca |
files | sat/tools/common/template.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/sat/tools/common/template.py Tue Mar 22 17:00:42 2022 +0100 +++ b/sat/tools/common/template.py Tue Mar 22 17:00:42 2022 +0100 @@ -1007,6 +1007,8 @@ if css_files is None: css_files, css_files_noscript = self.getCSSFiles(template_data) + else: + css_files_noscript = [] kwargs["icon_defs"] = self._icon_defs kwargs["icon"] = self._icon_use