Sha256: 0f1a4969d4f4f84aef8e539c19f5d7ec664d5d0f3ed38ec81b0e45589ace14bc

Contents?: true

Size: 791 Bytes

Versions: 16

Compression:

Stored size: 791 Bytes

Contents

<% title 'Upcoming events' %>

<div class="events">
  <% calendar.events.each do |event| %>
    <div class="event">
      <div class="date">
        <div class="month"><%= event.start_time.strftime('%a') %></div>
        <div class="day"><%= event.start_time.strftime('%d') %></div>
      </div>
      <div class="details">
        <h3 class="title"><%= event.title %></h3>

        <% if event.description %>
          <div class="description">
            <%= event.description %>
          </div>
        <% end %>

         <dl>
           <% if event.location %>
            <dt>Where</dt>
            <dd><%= event.location %></dd>
          <% end %>

          <dt>When</dt>
          <dd><%= event.formatted_duration %></dd>
        </dl>
      </div>
    </div>
  <% end %>
</div>

Version data entries

16 entries across 8 versions & 1 rubygems

Version Path
almanack-1.3.1 lib/almanack/themes/starter/views/events.erb
almanack-1.3.1 lib/almanack/themes/legacy/views/events.erb
almanack-1.3.0 lib/almanack/themes/legacy/views/events.erb
almanack-1.3.0 lib/almanack/themes/starter/views/events.erb
almanack-1.3.0.rc1 lib/almanack/themes/starter/views/events.erb
almanack-1.3.0.rc1 lib/almanack/themes/legacy/views/events.erb
almanack-1.2.1 lib/almanack/themes/legacy/views/events.erb
almanack-1.2.1 lib/almanack/themes/starter/views/events.erb
almanack-1.2.0 lib/almanack/themes/legacy/views/events.erb
almanack-1.2.0 lib/almanack/themes/starter/views/events.erb
almanack-1.1.5 lib/almanack/themes/legacy/views/events.erb
almanack-1.1.5 lib/almanack/themes/starter/views/events.erb
almanack-1.1.3 lib/almanack/themes/legacy/views/events.erb
almanack-1.1.3 lib/almanack/themes/starter/views/events.erb
almanack-1.1.3.rc1 lib/almanack/themes/starter/views/events.erb
almanack-1.1.3.rc1 lib/almanack/themes/legacy/views/events.erb