29 lines
736 B
Text
29 lines
736 B
Text
工單 (#{ticket.title}) 已被更新
|
|
|
|
<div>您好 #{recipient.firstname},</div>
|
|
<br>
|
|
<div>
|
|
工單 (#{ticket.title}) 已被 "<b>#{current_user.longname}</b>" 更新.
|
|
</div>
|
|
<br>
|
|
<% if @objects[:changes].present? %>
|
|
<div>
|
|
#{t('Changes')}:<br>
|
|
<% @objects[:changes].each do |key, value| %>
|
|
<%= t key %>: <%= h value[0] %> -> <%= h value[1] %><br>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|
|
<br>
|
|
<% if @objects[:article] %>
|
|
<div>
|
|
#{t('Information')}:
|
|
<blockquote type="cite">
|
|
#{article.body_as_html}
|
|
</blockquote>
|
|
</div>
|
|
<% end %>
|
|
<br>
|
|
<div>
|
|
<a href="#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}<% if @objects[:article] %>/#{article.id}<% end %>" target="zammad_app">#{t('View this in Zammad')}</a>
|
|
</div>
|