From 467c78963065c82aaeffbfa560f8264402cce7b4 Mon Sep 17 00:00:00 2001 From: LeandroJatai Date: Mon, 15 Jul 2024 23:48:05 -0300 Subject: [PATCH] fix: altera load staticfiles para static --- sapl/templates/base.html | 2 +- sapl/templates/base/auditlog_filter.html | 2 +- sapl/templates/materia/statustramitacao_filter.html | 2 +- sapl/templates/norma/assuntonorma_filter.html | 6 +++--- sapl/templates/parlamentares/coligacao_filter.html | 2 +- sapl/templates/parlamentares/parlamentar_filter.html | 2 +- sapl/templates/parlamentares/partido_filter.html | 2 +- sapl/templates/relatorios/RelatorioAtas_filter.html | 2 +- .../templates/relatorios/relatorio_doc_administrativos.html | 4 ++-- sapl/templates/sessao/painel.html | 2 +- sapl/templates/sessao/pauta_sessao_list.html | 2 +- sapl/templates/widgets/image_thumbnail.html | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/sapl/templates/base.html b/sapl/templates/base.html index 9eeb761bc..e8ff49de9 100644 --- a/sapl/templates/base.html +++ b/sapl/templates/base.html @@ -1,5 +1,5 @@ -{% load i18n staticfiles menus %} +{% load i18n static menus %} {% load common_tags %} {% load waffle_tags %} {% load render_bundle from webpack_loader %} diff --git a/sapl/templates/base/auditlog_filter.html b/sapl/templates/base/auditlog_filter.html index ef4b7ef77..25b4adafd 100644 --- a/sapl/templates/base/auditlog_filter.html +++ b/sapl/templates/base/auditlog_filter.html @@ -1,7 +1,7 @@ {% extends "crud/list.html" %} {% load i18n common_tags %} {% load tz %} -{% load crispy_forms_tags staticfiles %} +{% load crispy_forms_tags static %} {% block head_extra_css %} created { diff --git a/sapl/templates/materia/statustramitacao_filter.html b/sapl/templates/materia/statustramitacao_filter.html index 5b93f3ee0..2f6466d7e 100644 --- a/sapl/templates/materia/statustramitacao_filter.html +++ b/sapl/templates/materia/statustramitacao_filter.html @@ -1,6 +1,6 @@ {% extends "crud/list.html" %} {% load i18n %} -{% load crispy_forms_tags staticfiles %} +{% load crispy_forms_tags static %} {% block base_content %} {% if not show_results %} diff --git a/sapl/templates/norma/assuntonorma_filter.html b/sapl/templates/norma/assuntonorma_filter.html index 3b8599d8a..bc8721c80 100644 --- a/sapl/templates/norma/assuntonorma_filter.html +++ b/sapl/templates/norma/assuntonorma_filter.html @@ -1,20 +1,20 @@ {% extends "crud/list.html" %} {% load i18n %} -{% load crispy_forms_tags staticfiles %} +{% load crispy_forms_tags static %} {% block base_content %} {% if not show_results %} {% crispy filter.form %} {% else %}
- {% trans "Fazer nova pesquisa" %} {% if not request.user.is_anonymous %} - diff --git a/sapl/templates/parlamentares/coligacao_filter.html b/sapl/templates/parlamentares/coligacao_filter.html index ba3a82c33..43ac210e7 100644 --- a/sapl/templates/parlamentares/coligacao_filter.html +++ b/sapl/templates/parlamentares/coligacao_filter.html @@ -1,6 +1,6 @@ {% extends "crud/list.html" %} {% load i18n %} -{% load crispy_forms_tags staticfiles %} +{% load crispy_forms_tags static %} {% block base_content %} {% if not show_results %} diff --git a/sapl/templates/parlamentares/parlamentar_filter.html b/sapl/templates/parlamentares/parlamentar_filter.html index dd6af7034..72708129b 100644 --- a/sapl/templates/parlamentares/parlamentar_filter.html +++ b/sapl/templates/parlamentares/parlamentar_filter.html @@ -1,6 +1,6 @@ {% extends "crud/list.html" %} {% load i18n %} -{% load crispy_forms_tags staticfiles %} +{% load crispy_forms_tags static %} {% block base_content %} {% if not show_results %} diff --git a/sapl/templates/parlamentares/partido_filter.html b/sapl/templates/parlamentares/partido_filter.html index 963e151e4..111a97fa4 100644 --- a/sapl/templates/parlamentares/partido_filter.html +++ b/sapl/templates/parlamentares/partido_filter.html @@ -1,6 +1,6 @@ {% extends "crud/list.html" %} {% load i18n %} -{% load crispy_forms_tags staticfiles %} +{% load crispy_forms_tags statistaticcfiles %} {% block base_content %} {% if not show_results %} diff --git a/sapl/templates/relatorios/RelatorioAtas_filter.html b/sapl/templates/relatorios/RelatorioAtas_filter.html index fa91bb73d..aadfc1d3a 100644 --- a/sapl/templates/relatorios/RelatorioAtas_filter.html +++ b/sapl/templates/relatorios/RelatorioAtas_filter.html @@ -1,6 +1,6 @@ {% extends "crud/list.html" %} {% load i18n %} -{% load crispy_forms_tags staticfiles %} +{% load crispy_forms_tags static %} {% load webpack_static from webpack_loader %} {% block base_content %} diff --git a/sapl/templates/relatorios/relatorio_doc_administrativos.html b/sapl/templates/relatorios/relatorio_doc_administrativos.html index 5ba5b5a80..939e45ea5 100644 --- a/sapl/templates/relatorios/relatorio_doc_administrativos.html +++ b/sapl/templates/relatorios/relatorio_doc_administrativos.html @@ -1,7 +1,7 @@ {% extends "relatorios/base_relatorio.html" %} {% load i18n %} {% load common_tags %} -{% load crispy_forms_tags staticfiles %} +{% load crispy_forms_tags static %} {% block content %}

Documentos Administrativos

@@ -43,4 +43,4 @@ {% else %}

Nenhum documento encontrado com essas especificações

{% endif %} -{% endblock content %} +{% endblock content %} diff --git a/sapl/templates/sessao/painel.html b/sapl/templates/sessao/painel.html index 44f345a75..2a61038f8 100644 --- a/sapl/templates/sessao/painel.html +++ b/sapl/templates/sessao/painel.html @@ -1,6 +1,6 @@ {% extends "crud/detail.html" %} {% load i18n %} -{% load staticfiles %} +{% load static %} {% load webpack_static from webpack_loader %} {% block actions %} {% endblock %} diff --git a/sapl/templates/sessao/pauta_sessao_list.html b/sapl/templates/sessao/pauta_sessao_list.html index 535efdcc2..9e0b53fc2 100644 --- a/sapl/templates/sessao/pauta_sessao_list.html +++ b/sapl/templates/sessao/pauta_sessao_list.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load i18n staticfiles %} +{% load i18n static %} {% load webpack_static from webpack_loader %} {% block base_content %} diff --git a/sapl/templates/widgets/image_thumbnail.html b/sapl/templates/widgets/image_thumbnail.html index 154c1a7b2..b31f19403 100644 --- a/sapl/templates/widgets/image_thumbnail.html +++ b/sapl/templates/widgets/image_thumbnail.html @@ -1,4 +1,4 @@ -{% load i18n staticfiles thumbnail %} +{% load i18n static thumbnail %} {% load webpack_static from webpack_loader %}