Sha256: f6463dd6a46bc77743a0e3e5540479d18055a48ad9f64236a882417747ea343c

Contents?: true

Size: 1.18 KB

Versions: 29

Compression:

Stored size: 1.18 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 %>
            <h5 class="card--list__heading">
              <%= translated_attribute result.title %>
            </h5>

            <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], scope_id: params[:scope_id] %>
  </div>
</div>

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
decidim-accountability-0.12.2 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.13.0 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.12.1 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.13.0.pre1 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.12.0 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.11.2 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.12.0.pre app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.11.1 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.11.0.pre1 app/views/decidim/accountability/results/_results_parent.html.erb