Skip to content

Commit e307e59

Browse files
authored
fix: 404 Not found when clicking on the plus icon in condensed week schedule display
1 parent 4507c2e commit e307e59

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

tpl/Schedule/schedule-week-condensed.tpl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,11 @@
128128
<div class="reservable clickres" ref="{$href}&rd={formatdate date=$date key=url}"
129129
data-href="{$href}" data-start="{$date->Format('Y-m-d H:i:s')|escape:url}"
130130
data-end="{$date->Format('Y-m-d H:i:s')|escape:url}">
131-
<i class="bi bi-plus-circle-fill"></i> {translate key=CreateReservation}
131+
<i class="bi bi-plus-circle-fill" ref="{$href}&rd={formatdate date=$date key=url}"
132+
data-href="{$href}" data-start="{$date->Format('Y-m-d H:i:s')|escape:url}"
133+
data-end="{$date->Format('Y-m-d H:i:s')|escape:url}">
134+
</i>
135+
{translate key=CreateReservation}
132136
<input type="hidden" class="href" value="{$href}" />
133137
</div>
134138
{/if}
@@ -161,4 +165,4 @@
161165
});
162166
});
163167
</script>
164-
{/block}Z
168+
{/block}

0 commit comments

Comments
 (0)