mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
Return to Agent Events after Event show (#1555)
This commit is contained in:
parent
9b579617f5
commit
d26015c62b
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@
|
|||
<td class='payload'><%= truncate event.payload.to_json, :length => 90, :omission => "" %></td>
|
||||
<td>
|
||||
<div class="btn-group btn-group-xs">
|
||||
<%= link_to 'Show', event_path(event), class: "btn btn-default" %>
|
||||
<%= 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" %>
|
||||
</div>
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
<br />
|
||||
<div class="btn-group">
|
||||
<%= link_to icon_tag('glyphicon-chevron-left') + ' Back'.html_safe, events_path, class: "btn btn-default" %>
|
||||
<%= link_to icon_tag('glyphicon-chevron-left') + ' Back'.html_safe, filtered_agent_return_link || events_path, class: "btn btn-default" %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue