Skip to content

Commit

Permalink
Update _paneladorations.twig
Browse files Browse the repository at this point in the history
  • Loading branch information
borazslo committed Nov 26, 2024
1 parent bb418b6 commit 3627aa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/templates/church/_paneladorations.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
{% set title = 'Szentségimádások a következő időben' %}

{% set footer = true %}

{% set daysOfWeek = ['Hétfő', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat', 'Vasárnap'] %}

{% block body %}
{% if adorations|length > 1 %}

{% for adoration in adorations %}
<h5><strong>{{ adoration.date }}</strong> {{ adoration.starttime }} &ndash; {{ adoration.endtime }}
<h5><strong>{{ adoration.date|date("F j.") }}, {{ daysOfWeek[adoration.date|date("N") - 1] }}</strong> {{ adoration.starttime }} &ndash; {{ adoration.endtime }}
{% if adoration.type %}
( {{ adoration.type }} )
{% endif %}
Expand Down

0 comments on commit 3627aa5

Please sign in to comment.