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

Tootips aren't working #568

Open
jcoyne opened this issue Aug 20, 2024 · 0 comments
Open

Tootips aren't working #568

jcoyne opened this issue Aug 20, 2024 · 0 comments

Comments

@jcoyne
Copy link
Contributor

jcoyne commented Aug 20, 2024

When you go https://library-hours-dev.stanford.edu/libraries/sal/locations/sal12-circulation all the "n/a" spans are supposed to be tooltips on hover.

https://github.com/sul-dlss/library_hours_rails/blob/main/app/javascript/application.js#L11-L15

It looks like all of these elements are missing the title attribute, which may be a requirement.
Screenshot 2024-08-20 at 1 53 00 PM

It looks like this depends on summary or description, which hasn't been used for a couple of years:

Calendar.where.not(summary: nil).order(dtstart: :desc)
 =>
[#<Calendar:0x00007f7b91320640
  id: 368452,
  dtstart: Sun, 27 Mar 2022 14:00:00.000000000 PDT -07:00,
  dtend: Sun, 27 Mar 2022 20:00:00.000000000 PDT -07:00,
  location_id: 14,
  summary: "Winter-Spring Intersession",
  description: nil,
  closed: nil,
  created_at: Mon, 07 Mar 2022 07:57:36.000000000 PST -08:00,
  updated_at: Mon, 07 Mar 2022 07:57:36.000000000 PST -08:00>,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant