Sha256: 6f6c2e9ba9625d2ea23e6b2573cf9fbe523df4d634273b3929a9eb8867c1352d

Contents?: true

Size: 1.07 KB

Versions: 3

Compression:

Stored size: 1.07 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 %>

          <div class="card--list__data">
            <span class="card--list__data__number"><%= display_percentage result.progress %></span>
          </div>
        </div>
      <% end %>
    </div>
    <%= decidim_paginate results, order_start_time: params[:order_start_time], scope_id: params[:scope_id] %>
  </div>
</div>


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-accountability-0.1.2 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.1.1 app/views/decidim/accountability/results/_results_parent.html.erb
decidim-accountability-0.1.0 app/views/decidim/accountability/results/_results_parent.html.erb