diff --git a/sigi/apps/eventos/templates/admin/eventos/evento/change_form.html b/sigi/apps/eventos/templates/admin/eventos/evento/change_form.html index 5dc8236..b56ae80 100644 --- a/sigi/apps/eventos/templates/admin/eventos/evento/change_form.html +++ b/sigi/apps/eventos/templates/admin/eventos/evento/change_form.html @@ -1,10 +1,12 @@ -{% extends "base_change_form.html" %} +{% extends "admin/change_form.html" %} {% load i18n %} {% block object-tools-items %} -
  • - - {% trans 'Declaração' %} -
  • - {{ block.super }} +
    + + + {% trans "Declaração" %} + +
    + {{ block.super }} {% endblock %} diff --git a/sigi/apps/servicos/templates/admin/servicos/casaatendida/change_form.html b/sigi/apps/servicos/templates/admin/servicos/casaatendida/change_form.html index a9abe48..6195ef5 100644 --- a/sigi/apps/servicos/templates/admin/servicos/casaatendida/change_form.html +++ b/sigi/apps/servicos/templates/admin/servicos/casaatendida/change_form.html @@ -1,6 +1,6 @@ -{% extends "base_change_form.html" %} +{% extends "admin/change_form.html" %} {% load i18n admin_modify %} -{% load static from staticfiles %} +{% load static %} {% block after_related_objects %} {{ block.super }} diff --git a/sigi/apps/servidores/templates/admin/servidores/servidor/change_form.html b/sigi/apps/servidores/templates/admin/servidores/servidor/change_form.html index b8fe1b2..6457b0b 100644 --- a/sigi/apps/servidores/templates/admin/servidores/servidor/change_form.html +++ b/sigi/apps/servidores/templates/admin/servidores/servidor/change_form.html @@ -1,44 +1,50 @@ -{% extends 'base_change_form.html' %} +{% extends 'admin/change_form.html' %} {% load i18n %} {% block form_top %} -{% if adminform.form.instance.user %} -
    - - {% trans 'Dados do LDAP' %} - -
    -
    -
    -
    - -
    -
    -

    {{adminform.form.instance.user.first_name}}

    -
    + {% if adminform.form.instance.user %} +
    +
    + {% trans 'Dados do LDAP' %} +
    +
    +
    +
    +
    +
    -
    -
    -
    -
    - -
    -
    -

    {{adminform.form.instance.user.last_name}}

    -
    +
    +

    + {{adminform.form.instance.user.first_name}} +

    -
    -
    -
    -
    - -
    -
    -

    {{adminform.form.instance.user.email}}

    -
    +
    +
    +
    +
    +
    +
    -
    +
    +

    + {{adminform.form.instance.user.last_name}} +

    +
    +
    +
    +
    +
    +
    + +
    +
    +

    {{adminform.form.instance.user.email}}

    +
    +
    +
    +
    +
    +
    -
    -{% endif %} -{% endblock %} + {% endif %} +{% endblock %} \ No newline at end of file diff --git a/sigi/templates/admin/change_form.html b/sigi/templates/admin/change_form.html new file mode 100644 index 0000000..6608d52 --- /dev/null +++ b/sigi/templates/admin/change_form.html @@ -0,0 +1,3 @@ +{% extends 'admin/change_form.html' %} + +{% block breadcrumbs %}{% endblock %} \ No newline at end of file diff --git a/sigi/templates/base_change_form.html b/sigi/templates/base_change_form.html deleted file mode 100644 index 36548e4..0000000 --- a/sigi/templates/base_change_form.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends "admin/change_form.html" %} -{% load i18n admin_urls %} - -{% block object-tools %} -{% if change %}{% if not is_popup %} - -{% endif %}{% endif %} -{% endblock %} -