Sha256: 352c29f88004caa549e9c743305ea3a0827920cb7bcdedde1212ac5c99cf8625

Contents?: true

Size: 1.46 KB

Versions: 12

Compression:

Stored size: 1.46 KB

Contents

<% if params.dig("filter", "state").present? && params["filter"]["state"] == "withdrawn" %>
  <div class="callout warning">
    <%= t("decidim.meetings.meetings.index.text_banner",
          go_back_link: link_to(t("decidim.meetings.meetings.index.click_here"), meetings_path("filter[state]" => nil)),
          ).html_safe %>
  </div>
<% end %>

<% if @forced_past_meetings %>
  <div class="callout warning">
    <%= t ".upcoming_meetings_warning" %>
  </div>
<% elsif meetings.length == 0 %>
  <div class="callout warning">
    <%= t ".no_meetings_warning" %>
  </div>
<% end %>

<div class="row medium-up-2">
  <div class="column">
    <%= render partial: "decidim/shared/results_per_page" %>
  </div>
  <div class="column">
    <%= render partial: "decidim/meetings/calendar_modal", locals: { path: calendar_url } %>
  </div>
</div>

<div class="row small-up-1 medium-up-2 card-grid">
  <% meetings.each do |meeting| %>
    <%= card_for meeting %>
  <% end %>
</div>
<%= decidim_paginate meetings, order_start_time: params[:order_start_time], scope_id: params[:scope_id] %>

<div class="row">
  <div class="text-right">
    <% if params.dig("filter", "state").present? && params["filter"]["state"] == "withdrawn" %>
      <%= link_to t("decidim.meetings.meetings.index.see_all"), meetings_path("filter[state]" => nil) %>
    <% else %>
      <%= link_to t("decidim.meetings.meetings.index.see_all_withdrawn"), meetings_path("filter[state]" => "withdrawn") %>
    <% end %>
  </div>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
decidim-meetings-0.26.10 app/views/decidim/meetings/meetings/_meetings.html.erb
decidim-meetings-0.26.9 app/views/decidim/meetings/meetings/_meetings.html.erb
decidim-meetings-0.26.8 app/views/decidim/meetings/meetings/_meetings.html.erb
decidim-meetings-0.26.7 app/views/decidim/meetings/meetings/_meetings.html.erb
decidim-meetings-0.26.5 app/views/decidim/meetings/meetings/_meetings.html.erb
decidim-meetings-0.26.4 app/views/decidim/meetings/meetings/_meetings.html.erb
decidim-meetings-0.26.3 app/views/decidim/meetings/meetings/_meetings.html.erb
decidim-meetings-0.26.2 app/views/decidim/meetings/meetings/_meetings.html.erb
decidim-meetings-0.26.1 app/views/decidim/meetings/meetings/_meetings.html.erb
decidim-meetings-0.26.0 app/views/decidim/meetings/meetings/_meetings.html.erb
decidim-meetings-0.26.0.rc2 app/views/decidim/meetings/meetings/_meetings.html.erb
decidim-meetings-0.26.0.rc1 app/views/decidim/meetings/meetings/_meetings.html.erb