Sha256: dd6e42a7d29d5e4634e8ff10964ea1cd6b7e45618fa68a2ce50efc96ace8b373

Contents?: true

Size: 1.2 KB

Versions: 12

Compression:

Stored size: 1.2 KB

Contents

<div class="title-action">
  <h2 id="results-count" class="title-action__title section-heading">
    <%= heading_parent_level_results(total_count) %>
  </h2>
</div>

<div class="row">
  <div id="results" class="columns">
    <div class="card card--action card--list">
      <% results.each do |result| %>
        <div class="card--list__item">
          <%= icon "proposals", class: "card--list__icon", remove_icon_class: true %>

          <%= link_to result, class: "card--list__text card__link card__link--block" do %>
            <h3 class="card--list__heading">
              <%= translated_attribute result.title %>
            </h3>

            <span class="text-small"><%= heading_leaf_level_results(result.children.count) %></span>
          <% end %>

          <% if component_settings.display_progress_enabled? && result.progress.present? %>
            <div class="card--list__data">
              <span class="card--list__data__number"><%= display_percentage result.progress %></span>
            </div>
          <% end %>
        </div>
      <% end %>
    </div>
    <%= decidim_paginate results, order_start_time: params[:order_start_time], with_scope: params.dig(:filter, :with_scope) %>
  </div>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
decidim-accountability-0.27.9 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.27.8 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.27.7 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.27.6 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.27.5 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.27.4 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.27.3 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.27.2 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.27.1 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.27.0 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.27.0.rc2 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.27.0.rc1 app/views/decidim/accountability/results/_results_parent.html.erb