Sha256: b8217de9d109b543617ea1f2a81fc56f04b8636c32d2cc931010fac906da8825
Contents?: true
Size: 1.35 KB
Versions: 10
Compression:
Stored size: 1.35 KB
Contents
<div class="container"> <% if @error.present? %> <h3><%= @error.message %></h3> <% else %> <h3 id='alert-not-shown-events' class="hidden" datetime-mark=<%= DateTime.current %>>New webhooks are received. <a href="#">Reload</a> the page to see updates</h3> <% if @contacts.present? %> <table class="events"> <thead> <tr> <th>Contact ID</th> <th>Contact Name</th> <th>Event type</th> </tr> </thead> <tbody> <% @contacts.each do |contact| %> <tr> <td><%= contact[:id] %></td> <td><%= contact[:name] %></td> <td> <% contact[:events].map do |event| %> <span class="event <%= event.event_type %>"> <%= event.event_type %> <% if event.property_name.present? %> <span><%= event.property_name %></span> <% end %> <% if event.property_value.present? %> <span><%= event.property_value %></span> <% end %> </span> <% end %> </td> </tr> <% end %> </tbody> </table> <% else %> <h3 id="empty-message">Webhooks haven't been received yet.</h3> <% end %> <% end %> </div>
Version data entries
10 entries across 10 versions & 1 rubygems