Sha256: 7febc9688e1ccc8ac195f4c7f79f38701e6bfe6b86a73a82e997a5f401959165

Contents?: true

Size: 1.95 KB

Versions: 9

Compression:

Stored size: 1.95 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><%= decidim_html_escape(present(proposal).title).html_safe %></td>
              <td></td>
            </tr>
          <% end %>
        </tbody>
      </table>
    </div>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-sortitions-0.21.0 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.20.1 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.20.0 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.19.1 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.18.1 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.19.0 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.17.2 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.18.0 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.17.1 app/views/decidim/sortitions/admin/sortitions/show.html.erb