forked from LibreBooking/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ReservationInvitation.tpl
52 lines (43 loc) · 1.36 KB
/
ReservationInvitation.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Reservation Details:
<br/>
<br/>
Starting: {formatdate date=$StartDate key=reservation_email}<br/>
Ending: {formatdate date=$EndDate key=reservation_email}<br/>
{if $ResourceNames|default:array()|count > 1}
Resources:<br/>
{foreach from=$ResourceNames item=resourceName}
{$resourceName}<br/>
{/foreach}
{else}
Resource: {$ResourceName}<br/>
{/if}
{if $ResourceImage}
<div class="resource-image"><img src="{$ScriptUrl}/{$ResourceImage}"/></div>
{/if}
Title: {$Title}<br/>
Description: {$Description|nl2br}
{if count($RepeatDates) gt 0}
<br/>
The reservation occurs on the following dates:
<br/>
{/if}
{foreach from=$RepeatDates item=date name=dates}
{formatdate date=$date}<br/>
{/foreach}
{if $Accessories|default:array()|count > 0}
<br/>Accessories:<br/>
{foreach from=$Accessories item=accessory}
({$accessory->QuantityReserved}) {$accessory->Name}<br/>
{/foreach}
{/if}
{if $RequiresApproval}
<br/>
One or more of the resources reserved require approval before usage. This reservation will be pending until it is approved.
{/if}
<br/>
Attending? <a href="{$ScriptUrl}/{$AcceptUrl}">Yes</a> <a href="{$ScriptUrl}/{$DeclineUrl}">No</a>
<br/>
<br/>
<a href="{$ScriptUrl}/{$ReservationUrl}">View this reservation</a> |
<a href="{$ScriptUrl}/{$ICalUrl}">Add to Calendar</a> |
<a href="{$ScriptUrl}">Log in to LibreBooking</a>