Highlight current day in overview and yearly view#231
Conversation
|
Hi @domi4484 again, a small but great improvement 😊 Furthermore some general aspects regarding the architecture: A cleaner follow-up would be to move this state into the grid model, for example by adding isToday to DayColumn, or a render flag such as containsToday / isToday to TableCell, computed inside ReservationTableService. Antoher advantage is that you can write dedicated Unit tests if rendering works as intended for your use-case. For reservation_table_month.html.twig, the change is more consistent with the current code because that yearly/month view still builds much of its table directly in Twig and does not use ReservationTableService yet. |

Sometimes it would be practical to see today date at first glance on the calendar views.
I marked the PR as draft because of two points in the table view. If this feature is desirable I'll try to improve.
Table view:

Yearly with no reservations:

Yearly with partial reservations:

Yearly with full reservations:
