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

NoJS - Events page is blank #48

Closed
nikdoof opened this issue Apr 3, 2024 · 1 comment
Closed

NoJS - Events page is blank #48

nikdoof opened this issue Apr 3, 2024 · 1 comment
Assignees
Labels
accessibility Accessibility issues enhancement New feature or request

Comments

@nikdoof
Copy link
Contributor

nikdoof commented Apr 3, 2024

Describe the bug
With No JS, the events page is blank, relates to #38

To Reproduce

  • Disable JS
  • Goto /events/

Expected behavior
Either an error message, or a link to the iCal or external site to view the events?

@nikdoof nikdoof added enhancement New feature or request accessibility Accessibility issues labels Apr 3, 2024
@nikdoof
Copy link
Contributor Author

nikdoof commented Apr 3, 2024

{{ define "content" }}
<div id="calendar"></div>
{{ printf "<!--# include virtual='%s' -->" ("/cgi/events.cgi" | relURL) | safeHTML }}
{{ end }}

Would adding something in the div here get overridden with the JS?

@nikdoof nikdoof self-assigned this Apr 3, 2024
@nikdoof nikdoof closed this as completed in bd2c7ad Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Accessibility issues enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant