Sha256: d07671a07fd0c6425eab87e49556af785424367fde918cb0d807dd296d65dfe0

Contents?: true

Size: 718 Bytes

Versions: 7

Compression:

Stored size: 718 Bytes

Contents

<% if paginated_votings.empty? %>
  <%= cell("decidim/announcement", t(:no_votings, scope: "decidim.votings.votings.index")) %>
<% else %>
  <% if only_finished_votings? %>
    <%= cell("decidim/announcement", t(:only_finished, scope: "decidim.votings.votings.index"), callout_class: "warning") %>
  <% end %>

  <h2 class="h5 md:h3 decorator"><%= t("title", scope: "decidim.votings.votings.count", count: paginated_votings.total_count) %></h2>

  <%= order_selector available_orders, i18n_scope: "decidim.votings.votings.orders" %>

  <div class="card__grid-grid">
    <% paginated_votings.each do |voting| %>
      <%= card_for voting %>
    <% end %>
  </div>

  <%= decidim_paginate paginated_votings %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-elections-0.28.4 app/views/decidim/votings/votings/_votings.html.erb
decidim-elections-0.28.3 app/views/decidim/votings/votings/_votings.html.erb
decidim-elections-0.28.2 app/views/decidim/votings/votings/_votings.html.erb
decidim-elections-0.28.1 app/views/decidim/votings/votings/_votings.html.erb
decidim-elections-0.28.0 app/views/decidim/votings/votings/_votings.html.erb
decidim-elections-0.28.0.rc5 app/views/decidim/votings/votings/_votings.html.erb
decidim-elections-0.28.0.rc4 app/views/decidim/votings/votings/_votings.html.erb