Sha256: 23118b2a83d5c0a05bee53c01958c11187e80be895c55009be353b493b58dc59

Contents?: true

Size: 1.87 KB

Versions: 25

Compression:

Stored size: 1.87 KB

Contents

<div class="title-action">
  <h3 id="results-count" class="title-action__title section-heading">
    <%= heading_leaf_level_results(total_count) %>
  </h3>
</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", role: "img", "aria-hidden": true, remove_icon_class: true %>

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

            <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

25 entries across 25 versions & 1 rubygems

Version Path
decidim-accountability-0.26.0 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.26.0.rc2 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.26.0.rc1 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.25.2 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.25.1 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.25.0 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.25.0.rc4 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.25.0.rc3 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.25.0.rc2 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.25.0.rc1 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.24.3 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.23.6 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.24.2 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.23.5 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.24.1 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.24.0 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.24.0.rc2 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.23.4 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.24.0.rc1 app/views/decidim/accountability/results/_results_leaf.html.erb
decidim-accountability-0.23.3 app/views/decidim/accountability/results/_results_leaf.html.erb