diff --git a/templates/admin/app_index.html b/templates/admin/app_index.html index 641e62b..1bf8399 100644 --- a/templates/admin/app_index.html +++ b/templates/admin/app_index.html @@ -8,10 +8,3 @@ {% endblock %} {% block breadcrumbs %}{% endblock %} - -{% block sidebar %} - -{% endblock %} diff --git a/templates/admin/base_site.html b/templates/admin/base_site.html index b5f9fe6..b4a6fa3 100644 --- a/templates/admin/base_site.html +++ b/templates/admin/base_site.html @@ -33,6 +33,20 @@ Sistema de Informações Gerenciais do Interlegis {% endblock %} +{% block nav-global %} +{% if user.is_superuser %} + +{% endif %} +{% endblock %} + {% block footer %} {% if not is_popup %} diff --git a/templates/index.html b/templates/index.html index 879ca93..5c51a77 100644 --- a/templates/index.html +++ b/templates/index.html @@ -205,10 +205,3 @@ {% include "snippets/modules/charts-convenios.html" %} {% endblock %} - -{% block sidebar %} - -{% endblock %} diff --git a/templates/snippets/modules/actions.html b/templates/snippets/modules/actions.html deleted file mode 100644 index 82e6e79..0000000 --- a/templates/snippets/modules/actions.html +++ /dev/null @@ -1,32 +0,0 @@ -{% load i18n log %} -
-

Atividades recentes

-

Últimas atividades

- {% get_admin_log 10 as admin_log %} - {% if not admin_log %} -

Não disponível.

- {% else %} - - {% endif %} -
diff --git a/templates/snippets/modules/user.html b/templates/snippets/modules/user.html deleted file mode 100644 index 471ef50..0000000 --- a/templates/snippets/modules/user.html +++ /dev/null @@ -1,9 +0,0 @@ -{% load i18n tree_menu_tags %} -{% if user.is_superuser %} -
-

{{ user.get_full_name }}

- -

Administração

- {% show_menu "Administrador" "unordered-list" %} -
-{% endif %}