uchicago-library / library_website

The University of Chicago Library Website
5 stars 5 forks source link

Enable showing CDS hours through Wagtail Widget #757

Open dbietila opened 2 months ago

dbietila commented 2 months ago

CDS now has a calendar line in LibCal. If I try to add try to add the hours to a page using the Wagtail Granular Hours widget, I get Hours for all Regenstein locations. Is it possible to add just the hours for CDS (and possibly Dissertation Office).

bbusenius commented 2 months ago

To do this we need to do the following:

  1. Enable the CDS unit as eligible by editing the display_in_dropdown boolean on the CDS UnitPage.
  2. Set the location on the CDS UnitPage to a CDS location.
  3. Add the Libcal ID for the hours to the CDS LocationPage.

This is all done in the Wagtail admin but it will probably be easiest for me to do. I believe they were going to create LocationPages for CDS. Once that's done, I just need the Libcal ID and I can do the rest.