ymcatwincities / openy

The Open Y platform. See README.md below
https://openy.org
GNU General Public License v3.0
49 stars 111 forks source link

Lily: Location finder on homepage should render conditionally #2074

Open froboy opened 4 years ago

froboy commented 4 years ago

https://github.com/ymcatwincities/openy/blob/99563ebb03e43716c3153ce9e0c78333315cac44/themes/openy_themes/openy_lily/templates/page/page--front.html.twig#L14-L33

If the locations page is disabled, this block still renders in the header on the homepage. It'd be good to check to make sure /locations exists before sending people there.

sarah-halby commented 3 years ago

Update to ticket: Find Y & Camp Locations input search field should be optional - right now it is hardcoded in the template. Disable/enable - example - if you are working on a location page but it is not ready for the customer yet, you could disable locations until you are ready to launch that page (then check to enable). The checkbox should be on the theme layer. Time estimate is 2 hours.