Sha256: fdb54dfeddce2bb25dc5b5db351f3b857b5b190b9f51509391f384a7f320d43c

Contents?: true

Size: 606 Bytes

Versions: 1

Compression:

Stored size: 606 Bytes

Contents

<%- if current_event_counter == 0; then current_event_counter += 1; end -%>
<div class="span-2<%= current_event_counter % 8 == 0 ? ' last' : '' %>">
  <p><strong><%= link_to current_event.name, event_path(current_event) %></strong></p>
  <%- if current_event.one_day? -%>
  <%= render :partial => 'events/times', :object => times_with_zones(current_event) %>
  <%- else -%>
  <p><em><%= current_event.start_on.in_time_zone(current_event.timezone).strftime("%a, %b %d") %></em></p>
  <p><em><%= current_event.end_on.in_time_zone(current_event.timezone).strftime("%a, %b %d") %></em></p>
  <%- end -%>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
event_calendar_engine-0.1.10 app/views/events/_current_event.html.erb