forked from Ruderverein-Donau-Linz/rowt
[TASK] add day of week
This commit is contained in:
parent
bca65e15c6
commit
fb6dee0fcc
@ -2,7 +2,7 @@
|
||||
- [ ] Allow sign-outs only >2h before event
|
||||
|
||||
# Notes / Bugfixes
|
||||
|
||||
[] enable date-locale support for tera templating https://tera.netlify.app/docs/#date
|
||||
# Frontend Process
|
||||
´cd frontend´
|
||||
´npm install´
|
||||
|
@ -27,7 +27,7 @@
|
||||
{% set amount_trips = day.planned_events | length + day.trips | length %}
|
||||
<div class="bg-white p-3 rounded-md flex justify-between flex-col" data-trips="{{ amount_trips }}">
|
||||
<div>
|
||||
<h2 class="text-lg text-primary-950 font-bold uppercase tracking-wide">{{ day.day| date(format="%d.%m.%Y") }}</h2>
|
||||
<h2 class="text-lg text-primary-950 font-bold uppercase tracking-wide">{{ day.day| date(format="%d.%m.%Y") }} <small>{{ day.day| date(format="%A", locale="de_DE") }}</small></h2>
|
||||
|
||||
{% if day.planned_events | length > 0 %}
|
||||
<div class="grid grid-cols-1 gap-3 divide-y mb-3">
|
||||
|
Loading…
x
Reference in New Issue
Block a user