-
+ {% comment %}TODO Transformar os links em URLs diretamente no CRUD{% endcomment %}
{% if column.text|url %}
{% else %}
@@ -87,7 +87,7 @@
{% if href %}
{{ value }}
- {% elif value != 'core.Cep.None' %}
+ {% elif 'None' not in value %}
{{ value|safe }}
{% endif %}
|
diff --git a/sapl/templates/crud/detail_detail.html b/sapl/templates/crud/detail_detail.html
index dde6abbd6..219e287df 100644
--- a/sapl/templates/crud/detail_detail.html
+++ b/sapl/templates/crud/detail_detail.html
@@ -80,7 +80,7 @@
{% if href %}
{{ value }}
- {% elif valu != 'core.Cep.None' %}
+ {% elif 'None' in value %}
{{ value|safe }}
{% endif %}
|
diff --git a/sapl/templates/materia/confirmar_proposicao.html b/sapl/templates/materia/confirmar_proposicao.html
index f81ad26dc..99f9647ff 100644
--- a/sapl/templates/materia/confirmar_proposicao.html
+++ b/sapl/templates/materia/confirmar_proposicao.html
@@ -1,32 +1,21 @@
-{% extends "base.html" %}
-{% load i18n crispy_forms_tags %}
+{% extends "materia/proposicao_form.html" %}
+{% load i18n crispy_forms_tags common_tags %}
{% block base_content %}
-
-
{% endblock %}
diff --git a/sapl/templates/materia/layouts.yaml b/sapl/templates/materia/layouts.yaml
index 6c0a3742b..a5070ef86 100644
--- a/sapl/templates/materia/layouts.yaml
+++ b/sapl/templates/materia/layouts.yaml
@@ -82,7 +82,7 @@ Proposicao:
- tipo data_envio
- descricao
{% trans 'Materia' %}:
- - materia
+ - materia_de_vinculo
{% trans 'Complemento' %}:
- texto_original
diff --git a/sapl/templates/materia/prop_devolvidas_list.html b/sapl/templates/materia/prop_devolvidas_list.html
index 04089432e..153c7d778 100644
--- a/sapl/templates/materia/prop_devolvidas_list.html
+++ b/sapl/templates/materia/prop_devolvidas_list.html
@@ -1,8 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
-{% block sections_nav %} {% include 'materia/subnav_prop.html'%} {% endblock sections_nav %}
-
{% block base_content %}