Sha256: 4f308111331f61555a3c71fafbd47789b110024078b4f4532347c66ab602fcde

Contents?: true

Size: 1.84 KB

Versions: 29

Compression:

Stored size: 1.84 KB

Contents

<div class="title-action">
  <h2 id="results-count" class="title-action__title section-heading">
    <%= heading_leaf_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 "actions", class: "card--list__icon", remove_icon_class: true %>

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

            <div class="text-small card--meta">
              <% if result.start_date %>
                <strong><%= t("models.result.fields.start_date", scope: "decidim.accountability") %></strong>
                <span><%= result.start_date %></span>
              <% end %>

              <% if result.end_date %>
                <strong><%= t("models.result.fields.end_date", scope: "decidim.accountability") %></strong>
                <span><%= result.end_date %></span>
              <% end %>

              <% if result.status %>
                <strong><%= t("models.result.fields.status", scope: "decidim.accountability") %></strong>
                <span><%= translated_attribute(result.status.name) %></span>
              <% end %>
            </div>
          <% 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.21.0 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.20.1 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.20.0 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.19.1 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.18.1 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.19.0 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.17.2 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.18.0 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.17.1 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.16.1 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.17.0 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.16.0 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.15.2 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.15.1 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.15.0 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.14.4 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.14.3 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.14.2 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.14.1 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.13.1 app/views/decidim/accountability/results/_results_leaf.html.erb