Skip to content

Hide period descriptions based on current week#20

Open
humble-ahitofel wants to merge 2 commits into
libraries-fi:masterfrom
humble-ahitofel:hide-period-descriptions-based-on-current-week
Open

Hide period descriptions based on current week#20
humble-ahitofel wants to merge 2 commits into
libraries-fi:masterfrom
humble-ahitofel:hide-period-descriptions-based-on-current-week

Conversation

@humble-ahitofel

Copy link
Copy Markdown
Member

The following issue was brought by a customer, it seems that if a library has many exceptional weekly schedules with description, then all of those descriptions will be shown underneath the schedule viewer.

I solved this by adding a widget to monitor the schedule viewer and hide/show schedule descriptions based on whether the schedule's time frame is during the current week.

Original issue can be found here: https://projektit.kirjastot.fi/issues/5969

This widget monitors changes in currently displayed week in the library
schedule and shows or hides period description based on current week
that is viewed.
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

Successfully merging this pull request may close these issues.

1 participant