diff --git a/sigi/apps/convenios/admin.py b/sigi/apps/convenios/admin.py index e421f33..a4fe994 100644 --- a/sigi/apps/convenios/admin.py +++ b/sigi/apps/convenios/admin.py @@ -22,6 +22,7 @@ class AnexoAdmin(admin.ModelAdmin): 'convenio__casa_legislativa__nome') class ConvenioAdmin(admin.ModelAdmin): + change_list_template = 'convenios/change_list.html' fieldsets = ( (None, {'fields': ('casa_legislativa', 'num_processo_sf')} diff --git a/sigi/apps/convenios/reports.py b/sigi/apps/convenios/reports.py new file mode 100644 index 0000000..86eca5d --- /dev/null +++ b/sigi/apps/convenios/reports.py @@ -0,0 +1,11 @@ +class CasasAderidasReport(object): + pass + +class CasasNaoAderidasReport(object): + pass + +class CasasComEquipamentosReport(object): + pass + +class SemEquipamentosReport(object): + pass diff --git a/sigi/apps/convenios/templates/convenios/change_list.html b/sigi/apps/convenios/templates/convenios/change_list.html new file mode 100644 index 0000000..e64757a --- /dev/null +++ b/sigi/apps/convenios/templates/convenios/change_list.html @@ -0,0 +1,15 @@ +{% extends "admin/change_list.html" %} +{% load i18n reporting_tags %} + +{% block object-tools %} + {% if has_add_permission %} +
+ {% endif %} +{% endblock %}