From 4118034faa7562466a1dbcc846ccfb497fc8022b Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Wed, 10 Jul 2019 14:10:11 -0300 Subject: [PATCH] HOT-FIX: conserta links para webpack_static --- sapl/templates/base/RelatorioAtas_filter.html | 3 ++- sapl/templates/floppyforms/image_thumbnail.html | 2 +- sapl/templates/protocoloadm/protocolo_list.html | 1 - sapl/templates/relatorios/header_ata.html | 2 +- sapl/templates/relatorios/relatorio_ata.html | 3 ++- .../templates/relatorios/relatorio_doc_administrativos.html | 5 +++-- sapl/templates/relatorios/relatorio_sessao_plenaria.html | 3 ++- sapl/templates/rest_framework_docs/base.html | 6 +++--- sapl/templates/sessao/pauta_sessao_list.html | 4 ++-- 9 files changed, 16 insertions(+), 13 deletions(-) diff --git a/sapl/templates/base/RelatorioAtas_filter.html b/sapl/templates/base/RelatorioAtas_filter.html index adc494431..9eab9ae8f 100644 --- a/sapl/templates/base/RelatorioAtas_filter.html +++ b/sapl/templates/base/RelatorioAtas_filter.html @@ -1,6 +1,7 @@ {% extends "crud/list.html" %} {% load i18n %} {% load crispy_forms_tags staticfiles %} +{% load webpack_static from webpack_loader %} {% block base_content %} {% if not filter_url %} @@ -26,7 +27,7 @@ {{sessao}} - + {% endfor %} diff --git a/sapl/templates/floppyforms/image_thumbnail.html b/sapl/templates/floppyforms/image_thumbnail.html index 7d7b414a1..7d7dcd6ba 100644 --- a/sapl/templates/floppyforms/image_thumbnail.html +++ b/sapl/templates/floppyforms/image_thumbnail.html @@ -43,7 +43,7 @@ {% else %}
-
diff --git a/sapl/templates/protocoloadm/protocolo_list.html b/sapl/templates/protocoloadm/protocolo_list.html index 27c63edc8..337745da4 100644 --- a/sapl/templates/protocoloadm/protocolo_list.html +++ b/sapl/templates/protocoloadm/protocolo_list.html @@ -2,7 +2,6 @@ {% load i18n %} {% load tz %} {% load crispy_forms_tags %} -{% load static %} {% load webpack_static from webpack_loader %} {% block detail_content %} diff --git a/sapl/templates/relatorios/header_ata.html b/sapl/templates/relatorios/header_ata.html index 75330b646..8252e043d 100644 --- a/sapl/templates/relatorios/header_ata.html +++ b/sapl/templates/relatorios/header_ata.html @@ -8,7 +8,7 @@ - + diff --git a/sapl/templates/relatorios/relatorio_ata.html b/sapl/templates/relatorios/relatorio_ata.html index c559585fb..58dda11f1 100644 --- a/sapl/templates/relatorios/relatorio_ata.html +++ b/sapl/templates/relatorios/relatorio_ata.html @@ -1,5 +1,6 @@ {% load common_tags %} {% load static %} +{% load webpack_static from webpack_loader %} - + diff --git a/sapl/templates/relatorios/relatorio_doc_administrativos.html b/sapl/templates/relatorios/relatorio_doc_administrativos.html index c1ff042bf..ee464eda9 100644 --- a/sapl/templates/relatorios/relatorio_doc_administrativos.html +++ b/sapl/templates/relatorios/relatorio_doc_administrativos.html @@ -1,6 +1,7 @@ {% load i18n %} {% load common_tags %} -{% load static %} +{% load crispy_forms_tags staticfiles %} +{% load webpack_static from webpack_loader %} @@ -39,7 +40,7 @@ } } - + diff --git a/sapl/templates/relatorios/relatorio_sessao_plenaria.html b/sapl/templates/relatorios/relatorio_sessao_plenaria.html index e09cdf5f9..2d6974ac1 100644 --- a/sapl/templates/relatorios/relatorio_sessao_plenaria.html +++ b/sapl/templates/relatorios/relatorio_sessao_plenaria.html @@ -1,4 +1,5 @@ {% load static %} +{% load webpack_static from webpack_loader %} @@ -40,7 +41,7 @@ } } - + diff --git a/sapl/templates/rest_framework_docs/base.html b/sapl/templates/rest_framework_docs/base.html index 6614ea4e5..7e12127e7 100644 --- a/sapl/templates/rest_framework_docs/base.html +++ b/sapl/templates/rest_framework_docs/base.html @@ -1,4 +1,4 @@ -{% load static from staticfiles %} +{% load webpack_static from webpack_loader %} @@ -10,7 +10,7 @@ {% block title %}DRF Docs{% endblock %} {% block style %} - + {% endblock %} @@ -76,6 +76,6 @@ - + diff --git a/sapl/templates/sessao/pauta_sessao_list.html b/sapl/templates/sessao/pauta_sessao_list.html index ce3e5c77b..535efdcc2 100644 --- a/sapl/templates/sessao/pauta_sessao_list.html +++ b/sapl/templates/sessao/pauta_sessao_list.html @@ -1,6 +1,6 @@ {% extends "base.html" %} {% load i18n staticfiles %} - +{% load webpack_static from webpack_loader %} {% block base_content %} {% if not page_obj %} @@ -18,7 +18,7 @@ {{sessao}} - + {% endfor %}