% content_for :title, (@agent ? @agent.name + "'s " : "") + "Events" -%>
Source | <% end %>Created | Payload | <%= link_to event.agent.name, agent_path(event.agent, return: request.fullpath) %> | <% end %><%= time_ago_in_words event.created_at %> ago | <%= truncate event.payload.to_json, :length => 90, :omission => "" %> |
<%= link_to 'Show', event_path(event, return: request.fullpath), class: "btn btn-default" %>
<%= link_to 'Re-emit', reemit_event_path(event), method: :post, data: { confirm: 'Are you sure you want to duplicate this event and emit the new one now?' }, class: "btn btn-default" %>
<%= link_to 'Delete', event_path(event), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-default" %>
|
<% end %>
<% end %>
---|