common.vm
894 Bytes
<package from="system@canrd.com" receivers="${receivers}" subject="【${env}】 ${title}">
#if($attachments)
#foreach($attachment in $attachments.entrySet())
<attachment name="${attachment.key}">${attachment.value}</attachment>
#end
#end
</package>
<content html="true">
<style type="text/css">
table { border: solid 1px #e1e1e8; border-collapse: collapse; min-width: 400px}
tr td { padding: 3px 5px; height: 25px; border: solid 1px #e1e1e8; }
.head { background-color: #f7f7f9; }
</style>
<table>
#*<tr><td>服务器:${hostName} 执行线程:${threadName}</td></tr>*#
<tr class="head"><td>摘要:</td></tr>
<tr><td><pre>${summary}</pre></td></tr>
#if($detail)
<tr class="head"><td>详情:</td></tr>
<tr><td><pre>${detail}</pre></td></tr>
#end
#if($error)
<tr class="head"><td>异常栈:</td></tr>
<tr><td><pre>${error}</pre></td></tr>
#end
</table>
</content>