Sha256: cc72fe4dd99e9b010550a47723d76832db4e7a293cf8c183e3db543269c335cf

Contents?: true

Size: 1.91 KB

Versions: 10

Compression:

Stored size: 1.91 KB

Contents

<div class="card" id="sortition">
  <div class="card-divider">
    <h2 class="card-title">
      <%= translated_attribute(sortition.title) %>
    </h2>
  </div>
  <div class="card-section">
    <div class="table-scroll">
      <table class="table-list sortition">
        <thead>
          <tr>
            <th><%= t("models.sortition.fields.request_timestamp", scope: "decidim.sortitions.admin") %></th>
            <th><%= t("models.sortition.fields.dice", scope: "decidim.sortitions.admin") %></th>
            <th><%= t("models.sortition.fields.target_items", scope: "decidim.sortitions.admin") %></th>
            <th><%= t("models.sortition.fields.category", scope: "decidim.sortitions.admin") %></th>
            <th><%= t("models.sortition.fields.decidim_proposals_component", scope: "decidim.sortitions.admin") %></th>
            <th><%= t("models.sortition.fields.seed", scope: "decidim.sortitions.admin") %></th>
            <th></th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td><%= l sortition.request_timestamp, format: :long %></td>
            <td><%= sortition.dice %></td>
            <td><%= sortition.target_items %></td>
            <td><%= sortition_category sortition %></td>
            <td><%= translated_attribute sortition.decidim_proposals_component.name %></td>
            <td><%= sortition.seed %></td>
            <td></td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
  <div class="card-section">
    <div class="table-scroll">
      <table class="table-list proposals">
        <thead>
          <tr>
            <th><%= t ".selected_proposals" %></th>
            <th></th>
          </tr>
        </thead>
        <tbody>
          <% sortition.proposals.each do |proposal| %>
            <tr>
              <td><%= proposal.title %></td>
              <td></td>
            </tr>
          <% end %>
        </tbody>
      </table>
    </div>
  </div>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-sortitions-0.13.1 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.12.2 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.13.0 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.12.1 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.13.0.pre1 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.12.0 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.11.2 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.12.0.pre app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.11.1 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.11.0.pre1 app/views/decidim/sortitions/admin/sortitions/show.html.erb