Sha256: 25b56e7ee4b7d20e94bb59eb7b2c2b96fe65274f938225e988b0ed549e18c968

Contents?: true

Size: 1.97 KB

Versions: 37

Compression:

Stored size: 1.97 KB

Contents

<div class="card" id="sortition">
  <div class="card-divider">
    <h2 class="card-title">
      <%= decidim_html_escape(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

37 entries across 37 versions & 1 rubygems

Version Path
decidim-sortitions-0.27.3 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.26.7 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.26.5 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.27.2 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.27.1 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.26.4 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.27.0 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.26.3 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.27.0.rc2 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.27.0.rc1 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.26.2 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.26.1 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.26.0 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.26.0.rc2 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.26.0.rc1 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.25.2 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.25.1 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.25.0 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.25.0.rc4 app/views/decidim/sortitions/admin/sortitions/show.html.erb
decidim-sortitions-0.25.0.rc3 app/views/decidim/sortitions/admin/sortitions/show.html.erb