From 5020bb722d5fe0a57753fc19eada91b1e966d21b Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Mon, 18 Apr 2016 09:40:22 -0300 Subject: [PATCH] Remove parlamentar_detail --- templates/parlamentares/parlamentar_dependente.html | 2 +- templates/parlamentares/parlamentar_dependente_edit.html | 2 +- templates/parlamentares/parlamentar_detail.html | 9 --------- templates/parlamentares/parlamentar_filiacao.html | 2 +- templates/parlamentares/parlamentar_filiacao_edit.html | 2 +- templates/parlamentares/parlamentar_mandato.html | 2 +- templates/parlamentares/parlamentar_mandato_edit.html | 2 +- 7 files changed, 6 insertions(+), 15 deletions(-) delete mode 100644 templates/parlamentares/parlamentar_detail.html diff --git a/templates/parlamentares/parlamentar_dependente.html b/templates/parlamentares/parlamentar_dependente.html index 5566f62cb..01683a8d8 100644 --- a/templates/parlamentares/parlamentar_dependente.html +++ b/templates/parlamentares/parlamentar_dependente.html @@ -1,4 +1,4 @@ -{% extends "parlamentares/parlamentar_detail.html" %} +{% extends "crud/detail.html" %} {% load i18n %} {% load crispy_forms_tags %} {% block actions %}{% endblock %} diff --git a/templates/parlamentares/parlamentar_dependente_edit.html b/templates/parlamentares/parlamentar_dependente_edit.html index 295a72b3e..9682c56d5 100644 --- a/templates/parlamentares/parlamentar_dependente_edit.html +++ b/templates/parlamentares/parlamentar_dependente_edit.html @@ -1,4 +1,4 @@ -{% extends "parlamentares/parlamentar_detail.html" %} +{% extends "crud/detail.html" %} {% load i18n %} {% load crispy_forms_tags %} {% block actions %}{% endblock %} diff --git a/templates/parlamentares/parlamentar_detail.html b/templates/parlamentares/parlamentar_detail.html deleted file mode 100644 index 5f2f0a8d1..000000000 --- a/templates/parlamentares/parlamentar_detail.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "crud/detail.html" %} -{% load i18n %} -{% block actions %} -
- {% if legislatura_id != 0 %} - {% trans 'Incluir Parlamentar' %} - {% endif %} -
-{% endblock actions %} diff --git a/templates/parlamentares/parlamentar_filiacao.html b/templates/parlamentares/parlamentar_filiacao.html index ac55ef3a6..c02db5374 100644 --- a/templates/parlamentares/parlamentar_filiacao.html +++ b/templates/parlamentares/parlamentar_filiacao.html @@ -1,4 +1,4 @@ -{% extends "parlamentares/parlamentar_detail.html" %} +{% extends "crud/detail.html" %} {% load i18n %} {% load crispy_forms_tags %} {% block actions %}{% endblock %} diff --git a/templates/parlamentares/parlamentar_filiacao_edit.html b/templates/parlamentares/parlamentar_filiacao_edit.html index 295a72b3e..9682c56d5 100644 --- a/templates/parlamentares/parlamentar_filiacao_edit.html +++ b/templates/parlamentares/parlamentar_filiacao_edit.html @@ -1,4 +1,4 @@ -{% extends "parlamentares/parlamentar_detail.html" %} +{% extends "crud/detail.html" %} {% load i18n %} {% load crispy_forms_tags %} {% block actions %}{% endblock %} diff --git a/templates/parlamentares/parlamentar_mandato.html b/templates/parlamentares/parlamentar_mandato.html index 78e6fbeab..23461b46e 100644 --- a/templates/parlamentares/parlamentar_mandato.html +++ b/templates/parlamentares/parlamentar_mandato.html @@ -1,4 +1,4 @@ -{% extends "parlamentares/parlamentar_detail.html" %} +{% extends "crud/detail.html" %} {% load i18n %} {% load crispy_forms_tags %} {% block actions %}{% endblock %} diff --git a/templates/parlamentares/parlamentar_mandato_edit.html b/templates/parlamentares/parlamentar_mandato_edit.html index 295a72b3e..9682c56d5 100644 --- a/templates/parlamentares/parlamentar_mandato_edit.html +++ b/templates/parlamentares/parlamentar_mandato_edit.html @@ -1,4 +1,4 @@ -{% extends "parlamentares/parlamentar_detail.html" %} +{% extends "crud/detail.html" %} {% load i18n %} {% load crispy_forms_tags %} {% block actions %}{% endblock %}