对于每个电子邮件模板,我必须在页脚中删除OsTicket的徽标和标签。
我在以下位置的每个模板中删除了页脚:
D:\support\osticket\include\i18n\en_US\templates\email\
但是用户仍然会收到带有osTicket徽标和标签的信件。
例如。
D:\support\osticket\include\i18n\en_US\templates\email\ticket.alert.yaml
#
# Email template: ticket.alert.yaml
#
# Sent to a staff member when a new ticket is created in the system. This
# applies to tickets created via email, the web portal, or the api.
#
---
notes: |
Sent to a staff member when a new ticket is created in the system. This
applies to tickets created via email, the web portal, or the api.
subject: |
New Ticket Alert
body: |
<h2>Hi %{recipient.name},</h2>
New ticket #%{ticket.number} created
<br>
<br>
<table>
<tbody>
<tr>
<td>
<strong>From</strong>:
</td>
<td>
%{ticket.name} <%{ticket.email}>
</td>
</tr>
<tr>
<td>
<strong>Department</strong>:
</td>
<td>
%{ticket.dept.name}
</td>
</tr>
</tbody>
</table>
<br>
%{message}
<br>
<br>
<hr>