Sha256: 318bd61659c2be745a92d64afb97ee7653e1c92b5a8297465c8f766f932cf4a6

Contents?: true

Size: 826 Bytes

Versions: 3

Compression:

Stored size: 826 Bytes

Contents

<% if params[:description] %>
	<h1><%= @descriptions[0][0] %></h1>
	<%= link_to "<= Back", events_path %>
<% else %>
	<h1>What's Going On?</h1>
	<ol>
		<% @descriptions.each do |description, events| %>
			<li><%= link_to "#{pluralize events.count, "event"} - #{description}", events_path(description: description) %></li>
		<% end %>
	</ol>
<% end %>

<table>
  <thead>
    <tr>
      <th colspan="2"></th>
    </tr>
  </thead>

  <tbody>
    <% @events.each do |event| %>
      <tr>
				<td><%= event.linked_story.html_safe %></td>
				<td style="display: none; "><%= event.to_json %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<% Remetric.track contact: { id: 1228, name: "Ready" }, organization: { id: "swell", name: "Swell Productions" }, adescription: "{{ contact.name }} from {{ organization.name }} laughs." %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
remetric-0.0.5 app/views/remetric/events/index.html.erb
remetric-0.0.4 app/views/remetric/events/index.html.erb
remetric-0.0.3 app/views/remetric/events/index.html.erb