Sha256: 67f07dc2a1fc87c555215704a817e8a407bc4c646670b42a7b541d11a13a8636

Contents?: true

Size: 770 Bytes

Versions: 3

Compression:

Stored size: 770 Bytes

Contents

<div class="card" data-vote-status="<%= election.bb_status %>">
  <div class="item_show__header">
    <h2 class="item_show__header-title">
      <%= t(".title") %>
    </h2>
  </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

3 entries across 3 versions & 1 rubygems

Version Path
decidim-elections-0.28.0 app/views/decidim/elections/admin/steps/_vote_stats.html.erb
decidim-elections-0.28.0.rc5 app/views/decidim/elections/admin/steps/_vote_stats.html.erb
decidim-elections-0.28.0.rc4 app/views/decidim/elections/admin/steps/_vote_stats.html.erb