trabajo-afectivo/app/views/slack/ticket_update/en.md.erb

12 lines
418 B
Text
Raw Normal View History

# #{ticket.title}
_<#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}|Ticket##{ticket.number}>: Updated by #{current_user.longname} at #{ticket.updated_at}_
2016-04-15 21:56:10 +00:00
<% if @objects[:changes] && !@objects[:changes].empty? %>
<% @objects[:changes].each do |key, value| %>
* <%= t key %>: <%= h value[0] %> -> <%= h value[1] %>
<% end %>
<% end %>
<% if @objects[:article] %>
#{article.body_as_text}
2016-04-15 21:56:10 +00:00
<% end %>