Sha256: cccb25c06fab544a9119aa12c8ac905e697ae6088aed6c50ffa2d711805a064a

Contents?: true

Size: 885 Bytes

Versions: 3

Compression:

Stored size: 885 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>
				<td><%= link_to "&rarr;".html_safe, event %></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.8 app/views/remetric/events/index.html.erb
remetric-0.0.7 app/views/remetric/events/index.html.erb
remetric-0.0.6 app/views/remetric/events/index.html.erb