calendar/Tests/Fixtures/calendar_example/Resources/Private/Templates/Frontend/Calendar/Month.html
Daniel Siepmann 77dd56ad43
Add functional tests (#7)
This replaces the existing unit tests for the controller.
Functional tests are way better suited for testing the controller.
2023-01-04 07:12:17 +00:00

15 lines
430 B
HTML

<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true">
<h2>{month.dateTimeInstance -> f:format.date(format: '%B %Y')}</h2>
<f:for each="{month.weeks}" as="week">
<f:for each="{week.days}" as="day">
{day.dateTimeInstance -> f:format.date(format: 'd')}
{day.foreignData.exampleKey}
</f:for>
</f:for>
{customVariable}
</html>