Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding a check around events, when there are no current events #1554

Merged
merged 3 commits into from
Nov 26, 2019

Conversation

jeremyzilar
Copy link
Contributor

@jeremyzilar jeremyzilar commented Nov 26, 2019

Fixing #169

On the events page
added a check around the list of current events. If there are no events, it displays the text:>

There are no scheduled events at this time. We’re working on scheduling events for the near future. Contact us about hosting a training or event.

image

On the home page
The check is around the whole section.

  • If there are no events, the whole events section does not display.

Preview URL: https://cg-06ab120d-836f-49a2-bc22-9dfb1585c3c6.app.cloud.gov/preview/gsa/digitalgov.gov/events-conditional/events/

@jeremyzilar jeremyzilar added the Dev: Template Logic Fixes and improvements associated with our static site generator label Nov 26, 2019
@jeremyzilar jeremyzilar self-assigned this Nov 26, 2019
@Schultea Schultea merged commit 8f10be6 into master Nov 26, 2019
@Schultea Schultea deleted the events-conditional branch November 26, 2019 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev: Template Logic Fixes and improvements associated with our static site generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants