Sha256: 74e45e5ca6f746c4057ca265104fdc76771634698b4351b735ed2f2c60b6d875

Contents?: true

Size: 1.27 KB

Versions: 7

Compression:

Stored size: 1.27 KB

Contents

<table class="election-trustee__table">
  <thead>
    <tr>
      <th><%= t("elections.list.election", scope: "decidim.elections.trustee_zone.trustees.show") %></th>
      <th><%= t("elections.list.voting_period", scope: "decidim.elections.trustee_zone.trustees.show") %></th>
      <th><%= t("elections.list.bb_status", scope: "decidim.elections.trustee_zone.trustees.show") %></th>
      <th><%= t("elections.list.action_required.name", scope: "decidim.elections.trustee_zone.trustees.show") %></th>
    </tr>
  </thead>
  <tbody>
    <% trustee.elections.each do |election| %>
      <tr>
        <td><%= present(election).title %></td>
        <td><%= l(election.start_time, format: :decidim_short) %> - <%= l(election.end_time, format: :decidim_short) %></td>
        <td><%= election.bb_status %></td>
        <td>
          <% if election.trustee_action_required? %>
            <%= link_to trustee_election_elections_path(election) do %>
              <%= t("elections.list.action_required.true", scope: "decidim.elections.trustee_zone.trustees.show") %>
            <% end %>
          <% else %>
            <%= t("elections.list.action_required.false", scope: "decidim.elections.trustee_zone.trustees.show") %>
          <% end %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-elections-0.28.4 app/views/decidim/elections/trustee_zone/trustees/_table.html.erb
decidim-elections-0.28.3 app/views/decidim/elections/trustee_zone/trustees/_table.html.erb
decidim-elections-0.28.2 app/views/decidim/elections/trustee_zone/trustees/_table.html.erb
decidim-elections-0.28.1 app/views/decidim/elections/trustee_zone/trustees/_table.html.erb
decidim-elections-0.28.0 app/views/decidim/elections/trustee_zone/trustees/_table.html.erb
decidim-elections-0.28.0.rc5 app/views/decidim/elections/trustee_zone/trustees/_table.html.erb
decidim-elections-0.28.0.rc4 app/views/decidim/elections/trustee_zone/trustees/_table.html.erb