Files
atlhousingreport/xsl/emailSupportTicket.xsl
T

95 lines
2.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" encoding="utf-8" indent="yes"/>
<xsl:template match="/">
<style type="text/css">
.text {
font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #212529;
}
.label {
font-weight: bold;
padding-right: 10px;
white-space: nowrap;
}
.table {
border-collapse: collapse;
margin-top: 10px;
}
.table td {
padding: 6px 4px;
vertical-align: top;
}
</style>
<p class="text">Support Team,</p>
<p class="text">
A new support ticket has been submitted. The details are outlined below:
</p>
<table class="table text">
<tr>
<td class="label">Ticket Creator:</td>
<td>
<xsl:value-of select="//supporttickets/record/supportticket_creator"/>
</td>
</tr>
<tr>
<td class="label">Date Submitted:</td>
<td>
<xsl:value-of select="//supporttickets/record/supportticket_created_verbose"/>
</td>
</tr>
<tr>
<td class="label">Category:</td>
<td>
<xsl:value-of select="//supporttickets/record/supportticket_category_verbose"/>
<xsl:if test="normalize-space(//supporttickets/record/supportticket_category_other)">
<xsl:text> - </xsl:text>
<xsl:value-of select="//supporttickets/record/supportticket_category_other"/>
</xsl:if>
</td>
</tr>
<tr>
<td class="label">Subject:</td>
<td>
<xsl:value-of select="//supporttickets/record/supportticket_subject"/>
</td>
</tr>
<tr>
<td class="label">Message:</td>
<td>
<xsl:value-of select="//supporttickets/record/supportticket_message" disable-output-escaping="yes"/>/>
</td>
</tr>
</table>
<p class="text" style="margin-top: 15px;">
You can log in to the Support Center at the following address to view and respond to this ticket:
<br/>
<a href="https://ahr.realestatedatainc.com" target="_blank">
https://ahr.realestatedatainc.com
</a>
</p>
<p class="text">
Thank you,<br/>
<strong>DEC-International Support</strong>
</p>
<br/><br/><br/>
</xsl:template>
</xsl:stylesheet>