OpenEugene / little-help-book-web

Human service resource guide powered by White Bird Clinic
MIT License
6 stars 4 forks source link

Connecting the Alerts table with handlebars on index.html #135

Closed ArthurSmid closed 3 years ago

ArthurSmid commented 3 years ago

On the work in progress there's a template with sample text for an alert, this feature allows White Bird to highlight new information, especially emergency resources in times of crisis. Here's a screen shot to clarify what part of the homepage I'm referring to, the light blue box here: alert-style

And this is a screen shot of the table where the information would be entered: Airtable-alerts

This box might not always have an alert scheduled, they have start and stop times. At times when no alert is scheduled, the blue box won't be on the homepage with alert info. A how-to could be added to the Readme to clarify how this feature is used, explaining how to enter an alert and set the start and end times in the table.

colindavey commented 3 years ago

Added handlebars support in branch feature/alerts. Still some issues:

frankylee commented 3 years ago

Alert notes are now being converted from Markdown to Html and successfully rendered by Handlebars.

Still needs to be filtered by Start/End dates.

colindavey commented 3 years ago

Great Frankylee!

I think we decided that filtering isn't necessary, and instead, the data-entry folks will make sure only up-to-date items exist in the table.