diff --git a/sigi/apps/casas/templates/casas/change_form.html b/sigi/apps/casas/templates/casas/change_form.html index b59cb99..a3a43fb 100644 --- a/sigi/apps/casas/templates/casas/change_form.html +++ b/sigi/apps/casas/templates/casas/change_form.html @@ -1,14 +1,18 @@ -{% extends "admin/change_form.html" %} -{% load i18n reporting_tags %} +{% extends "base_change_form.html" %} +{% load i18n %} -{% block object-tools %} -{% if change %}{% if not is_popup %} - -{% endif %}{% endif %} +{% block object-tools-items %} +
  • + + Relatório +
  • +
  • + + Etiqueta +
  • +
  • + + Etiqueta sem presidente +
  • + {{ block.super }} {% endblock %} diff --git a/sigi/apps/metas/templates/metas/mapa.html b/sigi/apps/metas/templates/metas/mapa.html index e77b56d..e1222b4 100644 --- a/sigi/apps/metas/templates/metas/mapa.html +++ b/sigi/apps/metas/templates/metas/mapa.html @@ -44,7 +44,7 @@ {% block object-tools-items %}
  • - + Relatório resumo
  • diff --git a/templates/base_change_form.html b/templates/base_change_form.html new file mode 100644 index 0000000..36548e4 --- /dev/null +++ b/templates/base_change_form.html @@ -0,0 +1,20 @@ +{% extends "admin/change_form.html" %} +{% load i18n admin_urls %} + +{% block object-tools %} +{% if change %}{% if not is_popup %} + +{% endif %}{% endif %} +{% endblock %} +