diff --git a/sigi/apps/eventos/admin.py b/sigi/apps/eventos/admin.py index e32ed36..19afaf4 100644 --- a/sigi/apps/eventos/admin.py +++ b/sigi/apps/eventos/admin.py @@ -151,8 +151,8 @@ class EventoAdmin(CartExportMixin, admin.ModelAdmin): date_hierarchy = "data_inicio" list_display = ( "get_banner", + "get_tipo_evento", "nome", - "tipo_evento", "turma", "status", "publicar", @@ -197,6 +197,10 @@ class EventoAdmin(CartExportMixin, admin.ModelAdmin): ) save_as = True + @admin.display(description=_("Tipo Evento")) + def get_tipo_evento(self, obj): + return obj.tipo_evento.nome + @admin.display(description=_("nĂºmero do processo SIGAD")) def link_sigad(self, obj): if obj.pk is None: