Sha256: 955d11b159c452118c6459d187abcef92f2e9c33a9e17340c3f56f045f6e42ef

Contents?: true

Size: 580 Bytes

Versions: 47

Compression:

Stored size: 580 Bytes

Contents

<div id="event_list">
  (<%= link_to t('page.calendar'), events_path(library_id: @library.name, mode: 'calendar') -%>)
  <ul>
    <%- @events.each do |event| -%>
      <li>
        <%= link_to event.display_name.localize, event -%>
        <% if event.all_day? %>
          (<%= l(event.start_at, format: :only_date) -%> - <%= l(event.end_at, format: :only_date) -%>)
        <% else %>
          (<%= l(event.start_at) -%> - <%= l(event.end_at) -%>)
        <% end %>
      </li>
    <%- end -%>
  </ul>

  <%= paginate(@events, param_name: :event_page, remote: true) -%>
</div>

Version data entries

47 entries across 45 versions & 2 rubygems

Version Path
enju_library-0.3.11 app/views/libraries/_calendar.html.erb
enju_library-0.3.10 app/views/libraries/_calendar.html.erb
enju_library-0.3.9 app/views/libraries/_calendar.html.erb
enju_library-0.3.8 app/views/libraries/_calendar.html.erb
enju_library-0.3.8.rc.2 app/views/libraries/_calendar.html.erb
enju_library-0.3.8.rc.1 app/views/libraries/_calendar.html.erb
enju_library-0.3.7 app/views/libraries/_calendar.html.erb
enju_library-0.3.6 app/views/libraries/_calendar.html.erb
enju_library-0.3.5 app/views/libraries/_calendar.html.erb
enju_library-0.3.4 app/views/libraries/_calendar.html.erb
enju_library-0.3.3 app/views/libraries/_calendar.html.erb
enju_library-0.3.2 app/views/libraries/_calendar.html.erb
enju_library-0.3.1 app/views/libraries/_calendar.html.erb
enju_library-0.3.0 app/views/libraries/_calendar.html.erb
enju_library-0.3.0.rc.1 app/views/libraries/_calendar.html.erb
enju_library-0.3.0.beta.2 app/views/libraries/_calendar.html.erb
enju_library-0.2.5 app/views/libraries/_calendar.html.erb
enju_library-0.2.4 app/views/libraries/_calendar.html.erb
enju_library-0.2.3 app/views/libraries/_calendar.html.erb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/bundler/gems/enju_library-d36f415e177e/app/views/libraries/_calendar.html.erb