forked from smu-libraries/alma_letters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLendingRecallEmailLetter.xsl
77 lines (77 loc) · 2.5 KB
/
LendingRecallEmailLetter.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
<?xml version="1.0" encoding="utf-8"?>
<!--
Modified on 20160729 by Wee Hiong
1. Add signature (library's address) with patron-facing footer.
2. Remove unused includes.
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="header.xsl" />
<xsl:include href="footer.xsl" />
<xsl:include href="style.xsl" />
<xsl:template match="/">
<html>
<head>
<xsl:call-template name="generalStyle" />
</head>
<body>
<xsl:attribute name="style">
<!-- style.xsl -->
<xsl:call-template name="bodyStyleCss" />
</xsl:attribute>
<!-- header.xsl -->
<xsl:call-template name="head" />
<table cellspacing="0" cellpadding="5" border="0">
<tr>
<td>
<h3>@@header@@</h3>
</td>
</tr>
</table>
<div class="messageArea">
<div class="messageBody">
<table cellspacing="0" cellpadding="5" border="0">
<tr>
<td>
<b>@@recall_message@@</b>
</td>
</tr>
</table>
<table cellpadding="5" class="listing">
<xsl:attribute name="style">
<!-- style.xsl -->
<xsl:call-template name="mainTableStyleCss" />
</xsl:attribute>
<tr>
<th>@@title@@</th>
<th>@@author@@</th>
<th>@@old_due_date@@</th>
<th>@@due_date@@</th>
</tr>
<tr>
<td><xsl:value-of select="notification_data/request/display/title" /></td>
<td><xsl:value-of select="notification_data/request/display/author" /></td>
<td><xsl:value-of select="notification_data/original_due_date" /></td>
<td><xsl:value-of select="notification_data/request/due_date" /></td>
</tr>
</table>
<br />
<table>
<tr>
<b>
<td>@@request_id@@</td>
<td>
<xsl:value-of select="notification_data/request/external_request_id" />
</td>
</b>
</tr>
</table>
<br />
<!-- footer.xsl -->
<xsl:call-template name="myAccount" />
<xsl:call-template name="doNotReply" />
</div>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>