Switch to new css colour classes for event stati
Run tests / Execute tox to run the test suite (push) Successful in 2m54s

This commit is contained in:
2026-06-18 14:45:01 +02:00
parent 57e0c2cc1b
commit 9c102d146e
6 changed files with 76 additions and 15 deletions
+11 -11
View File
@@ -21,18 +21,18 @@ oneday = datetime.timedelta(1)
DEFAULT_EVENT_STATI = {
'void': (0, _(u'Ungültig'), None),
'draft': (10, _(u'Entwurf'), 'info'),
'submitted': (30, _(u'Eingereicht'), 'danger'),
'accepted': (50, _(u'Freigegeben'), 'warning'),
'publishing_facebook': (68, _(u'Veröffentlichung (Facebook)'), 'warning'),
'publishing_web': (69, _(u'Veröffentlichung (Web)'), 'warning'),
'publishing': (70, _(u'Veröffentlichung'), 'warning'),
'published_facebook': (78, _(u'Veröffentlicht (Facebook)'), 'success'),
'published_web': (79, _(u'Veröffentlicht (Web)'), 'success'),
'published': (80, _(u'Veröffentlicht'), 'success'),
'draft': (10, _(u'Entwurf'), 'blue'),
'submitted': (30, _(u'Eingereicht'), 'red'),
'accepted': (50, _(u'Freigegeben'), 'yellow'),
'publishing_facebook': (68, _(u'Veröffentlichung (Facebook)'), 'yellow'),
'publishing_web': (69, _(u'Veröffentlichung (Web)'), 'yellow'),
'publishing': (70, _(u'Veröffentlichung'), 'yellow'),
'published_facebook': (78, _(u'Veröffentlicht (Facebook)'), 'green'),
'published_web': (79, _(u'Veröffentlicht (Web)'), 'green'),
'published': (80, _(u'Veröffentlicht'), 'green'),
'expired': (100, _(u'Ausgelaufen'), None),
'canceled': (101, _(u'Abgesagt'), 'dav-mandarin'),
'realized': (102, _(u'Durchgeführt'), 'dav-lime'),
'canceled': (101, _(u'Abgesagt'), 'mandarin'),
'realized': (102, _(u'Durchgeführt'), 'lime'),
'cleared': (110, _(u'Abgerechnet'), 'black'),
}