diff --git a/sigi/apps/eventos/models.py b/sigi/apps/eventos/models.py index 0c055cf..014c876 100644 --- a/sigi/apps/eventos/models.py +++ b/sigi/apps/eventos/models.py @@ -39,12 +39,13 @@ class TipoEvento(models.Model): class Evento(models.Model): STATUS_CHOICES = ( - ('P', _(u"Programado")), - ('A', _(u"Autorizado")), + ('P', _(u"Previsão")), + ('A', _(u"A confirmar")), + ('O', _(u"Confirmado")), ('R', _(u"Realizado")), ('C', _(u"Cancelado")) ) - + tipo_evento = models.ForeignKey(TipoEvento) nome = models.CharField(_(u"Nome do evento"), max_length=100) descricao = models.TextField(_(u"Descrição do evento")) diff --git a/sigi/apps/eventos/templates/eventos/calendario.html b/sigi/apps/eventos/templates/eventos/calendario.html index fcdcbe3..098709d 100644 --- a/sigi/apps/eventos/templates/eventos/calendario.html +++ b/sigi/apps/eventos/templates/eventos/calendario.html @@ -9,6 +9,13 @@ text-align: center !important; vertical-align: bottom !important; } + + .status-P { background-color: #ffffb0} + .status-A { background-color: #a6ebff} + .status-O { background-color: #c2ffc2} + .status-R { background-color: #ffdaa6} + .status-C { background-color: #d98f8d} + {{ block.super }} {% endblock %} @@ -49,7 +56,7 @@