mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
16 lines
445 B
Scheme
16 lines
445 B
Scheme
|
<% with $SiteConfig %>
|
||
|
<% if $HolidayToday %>
|
||
|
<div class="hours hours--closed">
|
||
|
CLOSED
|
||
|
</div>
|
||
|
<% else %>
|
||
|
<% if $OpeningHoursToday %>
|
||
|
<div class="hours hours--open">
|
||
|
<% loop $OpeningHoursToday %>
|
||
|
Open: $From.Format("h a") | Close: $Till.Format("h a")
|
||
|
<% end_loop %>
|
||
|
</div>
|
||
|
<% end_if %>
|
||
|
<% end_if %>
|
||
|
<% end_with %>
|