Sha256: 8d1dc38f490df62ca7f2e3e1f35e2a3c00d270c4c2e1e77cc8cb0bd880049261

Contents?: true

Size: 991 Bytes

Versions: 2

Compression:

Stored size: 991 Bytes

Contents

<section class="wrapper-home upcoming-meetings home-section">
  <div class="row">
    <h3 class="section-heading"><%= t("decidim.meetings.content_blocks.upcoming_meetings.upcoming_meetings") %></h3>
    <div class="row">
      <div class="columns medium-6">
        <% upcoming_meetings.first(4).each do |event| %>
          <%= card_for event, size: :s %>
        <% end %>
      </div>
      <div class="columns medium-6">
        <% if show_map? %>
          <%= cell "decidim/meetings/meetings_map", upcoming_meetings %>
        <% else %>
          <% (upcoming_meetings - upcoming_meetings.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_meetings.view_all_meetings"), meetings_directory_path, class: "button hollow button--sc pull-right" %>
      </div>
    </div>
  </div>
</section>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
decidim-meetings-0.26.10 app/cells/decidim/meetings/content_blocks/upcoming_meetings/show.erb
decidim-meetings-0.26.9 app/cells/decidim/meetings/content_blocks/upcoming_meetings/show.erb