[% l('Opening hours') %]
[%- IF ctx.hours.dow_0_open == ctx.hours.dow_0_close; %]
[% l('Monday: closed') %]
[%- ELSE %]
[%
l('Monday: [_1]-[_2]', '' _ ctx.hours.dow_0_open.substr(0, 5) _ '',
'' _ ctx.hours.dow_0_close.substr(0, 5) _ '') -%]
[%- END %]
[%- IF ctx.hours.dow_1_open == ctx.hours.dow_1_close; %]
[% l('Tuesday: closed') %]
[%- ELSE %]
[%
l('Tuesday: [_1]-[_2]', '' _ ctx.hours.dow_1_open.substr(0, 5) _ '',
'' _ ctx.hours.dow_1_close.substr(0, 5) _ '') -%]
[%- END %]
[%- IF ctx.hours.dow_2_open == ctx.hours.dow_2_close; %]
[% l('Wednesday: closed') %]
[%- ELSE %]
[%
l('Wednesday: [_1]-[_2]', '' _ ctx.hours.dow_2_open.substr(0, 5) _ '',
'' _ ctx.hours.dow_2_close.substr(0, 5) _ '') -%]
[%- END %]
[%- IF ctx.hours.dow_3_open == ctx.hours.dow_3_close; %]
[% l('Thursday: closed') %]
[%- ELSE %]
[%
l('Thursday: [_1]-[_2]', '' _ ctx.hours.dow_3_open.substr(0, 5) _ '',
'' _ ctx.hours.dow_3_close.substr(0, 5) _ '') -%]
[%- END %]
[%- IF ctx.hours.dow_4_open == ctx.hours.dow_4_close; %]
[% l('Friday: closed') %]
[%- ELSE %]
[%
l('Friday: [_1]-[_2]', '' _ ctx.hours.dow_4_open.substr(0, 5) _ '',
'' _ ctx.hours.dow_4_close.substr(0, 5) _ '') -%]
[%- END %]
[%- IF ctx.hours.dow_5_open == ctx.hours.dow_5_close; %]
[% l('Saturday: closed') %]
[%- ELSE %]
[%
l('Saturday: [_1]-[_2]', '' _ ctx.hours.dow_5_open.substr(0, 5) _ '',
'' _ ctx.hours.dow_5_close.substr(0, 5) _ '') -%]
[%- END %]
[%- IF ctx.hours.dow_6_open == ctx.hours.dow_6_close; %]
[% l('Sunday: closed') %]
[%- ELSE %]
[%
l('Sunday: [_1]-[_2]', '' _ ctx.hours.dow_6_open.substr(0, 5) _ '',
'' _ ctx.hours.dow_6_close.substr(0, 5) _ '') -%]
[%- END %]