Skip to content

Commit

Permalink
comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrodevog committed Oct 16, 2023
1 parent 18b0995 commit a1e526d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/CommonBundle/Resources/views/common/index/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
{# {% endif %}#}
{% for opening in cudi.openingHours %}
<div>
<p style="display:inline-block">{{ dateLocalized(opening.getStart(), 'EEEE (d/M)')|capitalize }} ({{ opening.getComment() }})</p>
<p style="display:inline-block">{{ dateLocalized(opening.getStart(), 'EEEE (d/M)')|capitalize }} &emsp;{% if opening.getComment(language) %} ({{ opening.getComment(language) }}) {% endif %}</p>
<p style="float:right">{{ opening.getStart().format('H:i') }}
- {{ opening.getEnd().format('H:i') }}</p></div>
{% endfor %}
Expand All @@ -176,7 +176,7 @@
{% endfor %}
{% for opening in shop.openingHours %}
<div>
<p style="display:inline-block">{{ dateLocalized(opening.getStartDate(), 'EEEE (d/M)')|capitalize }} ({{ opening.getComment() }})</p>
<p style="display:inline-block">{{ dateLocalized(opening.getStartDate(), 'EEEE (d/M)')|capitalize }} &emsp;{% if opening.getComment(language) %} ({{ opening.getComment(language) }}) {% endif %}</p>
<p style="float:right">{{ opening.getStartDate().format('H:i') }}
- {{ opening.getEndDate().format('H:i') }}</p></div>
{% endfor %}
Expand Down

0 comments on commit a1e526d

Please sign in to comment.