-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFulPlaceOnHoldShelfLetter.xsl
200 lines (190 loc) · 7.73 KB
/
FulPlaceOnHoldShelfLetter.xsl
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="header.xsl"/>
<xsl:include href="senderReceiver.xsl"/>
<xsl:include href="mailReason.xsl"/>
<xsl:include href="footer.xsl"/>
<xsl:include href="style.xsl"/>
<xsl:include href="recordTitle.xsl"/>
<xsl:template match="/">
<html>
<head>
<xsl:call-template name="generalStyle"/>
</head>
<body>
<xsl:attribute name="style">
<xsl:call-template name="bodyStyleCss"/> <!-- style.xsl -->
</xsl:attribute>
<xsl:call-template name="head"/> <!-- header.xsl -->
<br/>
<xsl:call-template name="senderReceiver"/> <!-- SenderReceiver.xsl -->
<br/>
<div class="messageArea">
<div class="messageBody">
<!-- AFN CODE -->
<xsl:choose>
<!-- AFN test (is_afn_patron) defined in footer.xsl -->
<xsl:when test="(string-length($is_afn_patron) > 0)">
<!-- handle AFN supported languages (is_preferred_lang_fr) defined in footer.xsl-->
<xsl:choose>
<xsl:when test="(string-length($is_preferred_lang_fr) > 0)">
<!-- handle AFN language fr -->
<table cellspacing="0" cellpadding="5" border="0">
<tr>
<td>
L'élément suivant de <xsl:value-of select="notification_data/phys_item_display/owning_library_name"/>, que vous avez demandé sur <xsl:value-of select="notification_data/request/create_date"/> peut être récupéré à <b><xsl:value-of select="notification_data/request/delivery_address"/></b>
</td>
</tr>
<xsl:if test="notification_data/request/work_flow_entity/expiration_date">
<tr>
<td>
<br/>
L'article sera conservé pour vous jusqu'au <xsl:value-of select="notification_data/request/work_flow_entity/expiration_date"/>
</td>
</tr>
</xsl:if>
<tr>
<td>
<br/>
<xsl:call-template name="recordTitle" /> <!-- recordTitle.xsl -->
</td>
</tr>
<!-- If notes exist, then we'll display the notes lable and the note -->
<xsl:if test="notification_data/request/system_notes !='' ">
<tr>
<td>
<br/>
<b>NOTES qui peuvent affecter le prêt:</b>
</td>
</tr>
<tr>
<td><xsl:value-of select="notification_data/request/system_notes"/></td>
</tr>
</xsl:if>
<tr>
<td>
<br/>
<!-- AFN-VERSION 1.1 -->
Pour connaitre les heures de service et les informations sur le ramassage, veuillez consulter la page web de la bibliothèque sur le ramassage, donnée ci-dessus.
<br/>
</td>
</tr>
</table>
</xsl:when>
<xsl:otherwise>
<!-- handle AFN language default english 'en' -->
<table cellspacing="0" cellpadding="5" border="0">
<tr>
<td>
The following item from <xsl:value-of select="notification_data/phys_item_display/owning_library_name"/>, which you requested on <xsl:value-of select="notification_data/request /create_date"/> can be picked up at <b><xsl:value-of select="notification_data/request/delivery_address"/></b>
</td>
</tr>
<xsl:if test="notification_data/request/work_flow_entity/expiration_date">
<tr>
<td>
<br/>
The item will be held for you until <xsl:value-of select="notification_data/request/work_flow_entity/expiration_date"/>
</td>
</tr>
</xsl:if>
<tr>
<td>
<br/>
<xsl:call-template name="recordTitle" /> <!-- recordTitle.xsl -->
</td>
</tr>
<!-- If notes exist, then we'll display the notes lable and the note -->
<xsl:if test="notification_data/request/system_notes !='' ">
<tr>
<td>
<br/>
<b>NOTES that may affect loan:</b>
</td>
</tr>
<tr>
<td><xsl:value-of select="notification_data/request/system_notes"/></td>
</tr>
</xsl:if>
<tr>
<td>
<br/>
Please check the website at the pickup library indicated above for service hours and pickup information.
<br/>
</td>
</tr>
</table>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<!-- Carleton letter -->
<table>
<tr>
<td>
The item(s) you have requested are ready for curbside pick-up or are being prepared for mail delivery.
</td>
</tr>
<tr>
<td>
If you have chosen curbside pick-up: Upon arrival please remain in your vehicle, have your Banner ID/Student Number readily available, and call <a href="tel:1-343-996-9167">(343) 996-9167</a>. Pick-up your items at MacOdrum Library Curbside Pickup. Our curbside pick-up location is on the exterior of the library building along Library Road (canal side). A book return is also located here.
</td>
</tr>
<tr>
<td>
Visit <a href="https://library.carleton.ca/services/curbside-pick-and-mail-delivery-library-print-collection">
https://library.carleton.ca/services/curbside-pick-and-mail-delivery-library-print-collection</a> for additional information on how to pick-up items from the library. <strong>Curbside pickup is open Monday to Friday, 9:00 am - 12:00pm and 1:00pm-4:00pm.</strong>
</td>
</tr>
<tr>
<td>
If you have chosen the mail delivery option a staff member will be in touch to confirm your mailing details. If you did not include your mailing address at the time of submission, please email your mailing address to <a href="mailto:[email protected]">[email protected]</a> as soon as possible to proceed with delivery.
</td>
</tr>
</table>
<table border="0" cellpadding="5" cellspacing="0">
<xsl:if test="notification_data/request/work_flow_entity/expiration_date">
<tr>
<td>@@note_item_held_until@@
<xsl:value-of select="notification_data/request/work_flow_entity/expiration_date"/>
.</td>
</tr>
</xsl:if>
<tr>
<td>
<xsl:call-template name="recordTitle"/> <!-- recordTitle.xsl -->
</td>
</tr>
<xsl:if test="notification_data/request/system_notes">
<tr>
<td>
<b>@@notes_affect_loan@@:</b>
</td>
</tr>
<tr>
<td>
<xsl:value-of select="notification_data/request/system_notes"/>
</td>
</tr>
</xsl:if>
</table>
<br/>
<table>
<tr>
<td>For more information please login to your <a href="https://ocul-crl.primo.exlibrisgroup.com/discovery/login?vid=01OCUL_CRL:CRL_DEFAULT">Library Account</a>.</td>
</tr>
<tr>
<td>If you have any questions please contact a staff member from Access Services at <a href="mailto:[email protected]">[email protected]</a> or 613-520-2600 x2734.</td>
</tr>
</table>
</xsl:otherwise>
</xsl:choose>
<!-- END OF AFN CODE -->
</div>
</div>
<!-- AFN footer template options from footer.xsl -->
<xsl:call-template name="AFNLastFooter" />
<xsl:call-template name="AFNAccount" />
</body>
</html>
</xsl:template>
</xsl:stylesheet>