[feat]Change border color of event

This commit is contained in:
Jimmy 2021-04-30 19:19:30 +08:00
parent 8aaabe4435
commit 66767c33a2
No known key found for this signature in database
GPG key ID: FAE75C760A4A5CC6
2 changed files with 3 additions and 0 deletions

View file

@ -49,6 +49,7 @@ describe FullCalendarFormatter do
end: event_schedule1.end_time,
resourceId: room1.guid,
url: Rails.application.routes.url_helpers.conference_program_proposal_path(conference.short_title, event1.id),
borderColor: event1.event_type.color,
backgroundColor: event1.event_type.color,
textColor: 'black'
},
@ -59,6 +60,7 @@ describe FullCalendarFormatter do
end: event_schedule2.end_time,
resourceId: room2.guid,
url: Rails.application.routes.url_helpers.conference_program_proposal_path(conference.short_title, event2.id),
borderColor: event2.event_type.color,
backgroundColor: event2.event_type.color,
textColor: 'white'
}