Sha256: a0f929753ca5bab4ef114d2bf8fbbb5753dc06edf5882c412085976ebbaef994

Contents?: true

Size: 770 Bytes

Versions: 4

Compression:

Stored size: 770 Bytes

Contents

<div class="card" data-vote-status="<%= election.bb_status %>">
  <div class="item_show__header">
    <h1 class="item_show__header-title">
      <%= t(".title") %>
    </h1>
  </div>
  <div class="table-scroll">
    <% if vote_stats.values.sum == 0 %>
      <div class="card-section">
        <p><%= t(".no_vote_statistics_yet") %></p>
      </div>
    <% else %>
    <table class="table-list users_count">
      <thead>
        <tr>
          <th></th>
          <th><%= t(".votes") %></th>
          <th><%= t(".voters") %></th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td></td>
          <td><%= vote_stats[:votes] %></td>
          <td><%= vote_stats[:voters] %></td>
        </tr>
      </tbody>
    </table>
    <% end %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-elections-0.28.4 app/views/decidim/elections/admin/steps/_vote_stats.html.erb
decidim-elections-0.28.3 app/views/decidim/elections/admin/steps/_vote_stats.html.erb
decidim-elections-0.28.2 app/views/decidim/elections/admin/steps/_vote_stats.html.erb
decidim-elections-0.28.1 app/views/decidim/elections/admin/steps/_vote_stats.html.erb