Commit c058990b authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg

Fix color and title of partner event

parent 6e9625b6
......@@ -10,11 +10,14 @@ class PartnerEventSerializer(CalenderJSSerializer):
class Meta(CalenderJSSerializer.Meta):
model = PartnerEvent
def _title(self, instance):
return "{} ({})".format(instance.title, instance.partner.name)
def _background_color(self, instance):
return '#E62272'
def _text_color(self, instance):
return '#FFFFF'
return 'white'
def _url(self, instance):
return instance.url
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment