Allow calendar entries with empty event descriptions to be displayed
Fixes #1158
Instead of completely denying all calendar events from the acmcsuf public calendar that don't have a description, we display them on the site with a little message so that the event time and title are still visible to those interested.
const { description, variables } = parseDescription(
event.description || 'Event description is missing :('
);
Deploy request for acmcsuf pending review.
Visit the deploys page to approve it
| Name | Link |
|---|---|
| Latest commit | 5eed4e886ab10d5667e03357fb733c0ebeb18d82 |
It may look unprofessional to have that message show on our event. Imo it shows that we forgot to put one.
It may look unprofessional to have that message show on our event. Imo it shows that we forgot to put one.
Are you suggesting a different message? Or not having empty descriptions at all? If you don't think we should have events with empty descriptions at all then please mention it on the #1158 discussion instead since this pr is for that issue