Skip to content

Commit

Permalink
Bugfix weekView composer mode
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimruhs committed Nov 13, 2023
1 parent bc1a6eb commit 545d526
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 10 deletions.
8 changes: 5 additions & 3 deletions Resources/Private/Templates/Default/NewWeek.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@
<div class="hidden" id="bookingDate">{dayTime}</div>

<f:for each="{bookobjects}" as="bookobject">
<div class="bookobjectTitle">{bookobject.name}</div>
<div class="bookobjectTitle">{bookobject.name}AA</div>
<div class="weekSelector">
<img class="previousWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/typo3conf/ext/booking/Resources/Public/Icons/actions-view-paging-previous.svg"/>
<f:variable name="uriImgPrev"><f:uri.image src="EXT:booking/Resources/Public/Icons/actions-view-paging-previous.svg" /></f:variable>
<img class="previousWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/{uriImgPrev}"/>
{calendarWeekLabel}
{week} - {year}
<img class="nextWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/typo3conf/ext/booking/Resources/Public/Icons/actions-view-paging-next.svg"/>
<f:variable name="uriImgNext"><f:uri.image src="EXT:booking/Resources/Public/Icons/actions-view-paging-next.svg" /></f:variable>
<img class="nextWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/{uriImgNext}"/>
</div>
<div class="bookobjectWeek">
<f:for each="{weekdays}" as="weekday" iteration="iterWeekday">
Expand Down
6 changes: 4 additions & 2 deletions Resources/Private/Templates/Default/Week.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@
<f:for each="{bookobjects}" as="bookobject">
<div class="bookobjectTitle">{bookobject.name}</div>
<div class="weekSelector">
<img class="previousWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/typo3conf/ext/booking/Resources/Public/Icons/actions-view-paging-previous.svg"/>
<f:variable name="uriImgPrev"><f:uri.image src="EXT:booking/Resources/Public/Icons/actions-view-paging-previous.svg" /></f:variable>
<img class="previousWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/{uriImgPrev}"/>
{calendarWeekLabel}
{week} - {year}
<img class="nextWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/typo3conf/ext/booking/Resources/Public/Icons/actions-view-paging-next.svg"/>
<f:variable name="uriImgNext"><f:uri.image src="EXT:booking/Resources/Public/Icons/actions-view-paging-next.svg" /></f:variable>
<img class="nextWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/{uriImgNext}"/>
</div>
<div class="bookobjectWeek">
<f:for each="{weekdays}" as="weekday" iteration="iterWeekday">
Expand Down
6 changes: 4 additions & 2 deletions Resources/Private/Templates/Standard/NewWeek.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@
<f:for each="{bookobjects}" as="bookobject">
<div class="bookobjectTitle">{bookobject.name}</div>
<div class="weekSelector">
<img class="previousWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/typo3conf/ext/booking/Resources/Public/Icons/actions-view-paging-previous.svg"/>
<f:variable name="uriImgPrev"><f:uri.image src="EXT:booking/Resources/Public/Icons/actions-view-paging-previous.svg" /></f:variable>
<img class="previousWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/{uriImgPrev}"/>
{calendarWeekLabel}
{week} - {year}
<img class="nextWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/typo3conf/ext/booking/Resources/Public/Icons/actions-view-paging-next.svg"/>
<f:variable name="uriImgNext"><f:uri.image src="EXT:booking/Resources/Public/Icons/actions-view-paging-next.svg" /></f:variable>
<img class="nextWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/{uriImgNext}"/>
</div>
<div class="bookobjectWeek">
<f:for each="{weekdays}" as="weekday" iteration="iterWeekday">
Expand Down
6 changes: 4 additions & 2 deletions Resources/Private/Templates/Standard/Week.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@
<f:for each="{bookobjects}" as="bookobject">
<div class="bookobjectTitle">{bookobject.name}</div>
<div class="weekSelector">
<img class="previousWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/typo3conf/ext/booking/Resources/Public/Icons/actions-view-paging-previous.svg"/>
<f:variable name="uriImgPrev"><f:uri.image src="EXT:booking/Resources/Public/Icons/actions-view-paging-previous.svg" /></f:variable>
<img class="previousWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/{uriImgPrev}"/>
{calendarWeekLabel}
{week} - {year}
<img class="nextWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/typo3conf/ext/booking/Resources/Public/Icons/actions-view-paging-next.svg"/>
<f:variable name="uriImgNext"><f:uri.image src="EXT:booking/Resources/Public/Icons/actions-view-paging-next.svg" /></f:variable>
<img class="nextWeek" bookobjectUid="{bookobject.uid}" date="{dayTime}" hour="{hour}" src="/{uriImgNext}"/>
</div>
<div class="bookobjectWeek">
<f:for each="{weekdays}" as="weekday" iteration="iterWeekday">
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'title' => 'Booking',
'description' => 'Booking extension for FE users',
'category' => 'plugin',
'version' => '2.1.4',
'version' => '2.1.5',
'state' => 'beta',
'uploadfolder' => false,
'clearcacheonload' => false,
Expand Down

0 comments on commit 545d526

Please sign in to comment.