Sha256: eeb282eeb6f3d0aaa96af7e6746da3af1bf07eb1659879088c3917c3e39e1130

Contents?: true

Size: 984 Bytes

Versions: 27

Compression:

Stored size: 984 Bytes

Contents

<section class="wrapper-home upcoming-events home-section">
  <div class="row">
    <h3 class="section-heading"><%= t("decidim.meetings.content_blocks.upcoming_events.upcoming_events") %></h3>
    <div class="row">
      <div class="columns medium-6">
        <% upcoming_events.first(4).each do |event| %>
          <%= card_for event, size: :s %>
        <% end %>
      </div>
      <div class="columns medium-6">
        <% if geolocation_enabled? %>
          <%= cell "decidim/meetings/meetings_map", upcoming_events %>
        <% else %>
          <% (upcoming_events - upcoming_events.first(4)).each do |event| %>
            <%= card_for event, size: :s %>
          <% end %>
        <% end %>
      </div>
    </div>
    <div class="row">
      <div class="column">
        <%= link_to t("decidim.meetings.content_blocks.upcoming_events.view_all_events"), meetings_directory_path, class: "button hollow button--sc pull-right" %>
      </div>
    </div>
  </div>
</section>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
decidim-meetings-0.23.0 app/cells/decidim/meetings/content_blocks/upcoming_events/show.erb
decidim-meetings-0.22.0 app/cells/decidim/meetings/content_blocks/upcoming_events/show.erb
decidim-meetings-0.21.0 app/cells/decidim/meetings/content_blocks/upcoming_events/show.erb
decidim-meetings-0.20.1 app/cells/decidim/meetings/content_blocks/upcoming_events/show.erb
decidim-meetings-0.20.0 app/cells/decidim/meetings/content_blocks/upcoming_events/show.erb
decidim-meetings-0.19.1 app/cells/decidim/meetings/content_blocks/upcoming_events/show.erb
decidim-meetings-0.19.0 app/cells/decidim/meetings/content_blocks/upcoming_events/show.erb