trabajo-afectivo/app/views/mailer/ticket_update/cs.html.erb

30 lines
734 B
Text
Raw Normal View History

Aktualizován ticket (#{ticket.title})
<div>Dobrý den,</div>
<br>
<div>
Ticket (#{ticket.title}) byl aktualizován uživatelem "<b>#{current_user.longname}</b>".
</div>
<br>
2018-04-05 02:58:53 +00:00
<% if @objects[:changes].present? %>
<div>
#{t('Changes')}:<br>
<% @objects[:changes].each do |key, value| %>
<%= t key %>: <%= h value[0] %> -&gt; <%= 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>