trabajo-afectivo/app/views/slack/ticket_update/zh-cn.md.erb

12 lines
422 B
Text
Raw Normal View History

# #{ticket.title}
_<#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}|Ticket##{ticket.number}>: 由 #{current_user.longname} 在 #{ticket.updated_at} 更新了_
<% 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}
<% end %>