Sha256: e1dae425f9c35fe1a4f7c5e6688701451db003ba7c5353a8b8aa76dc3b0cc3a7

Contents?: true

Size: 1.88 KB

Versions: 7

Compression:

Stored size: 1.88 KB

Contents

<% add_decidim_page_title(translated_attribute(sortition.title)) %>
<div class="card" id="sortition">
  <div class="item_show__header">
    <h1 class="item_show__header-title">
      <%= decidim_escape_translated(sortition.title) %>
    </h1>
  </div>
  <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 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>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-sortitions-0.29.2 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.29.1 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.29.0 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.29.0.rc4 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.29.0.rc3 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.29.0.rc2 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.29.0.rc1 app/views/decidim/sortitions/admin/sortitions/show.html.erb