MITLibraries / MITlibraries-parent

The parent theme for MIT Libraries on WordPress
https://libraries.mit.edu
GNU General Public License v3.0
1 stars 3 forks source link

More permissive check for showing location alerts #353

Closed matt-bernhardt closed 2 years ago

matt-bernhardt commented 2 years ago

Why are these changes being introduced:

Compare the new location template at https://github.com/MITLibraries/MITlibraries-parent/blob/main/content-location-2021.php#L74 with the older template at https://github.com/MITLibraries/MITlibraries-parent/blob/main/content-location.php#L97

Relevant ticket(s):

How does this address that need:

Document any side effects to this change:

How can a reviewer manually see the effects of these changes?

This branch is current present on the staging server. If you look at the Hayden Library page, you'll note a location alert being shown about the elevators being out of service.

Screenshots (if appropriate)

Staging (showing location alert) Screen Shot 2022-05-03 at 3 55 48 PM

Production (without alert) Screen Shot 2022-05-03 at 3 56 11 PM

Todo:

Requires new or updated plugins, themes, or libraries?

NO

Requires change to deploy process?

NO