Sha256: d53f503471b5ab9e1db7a6ffae61644887c866b3ad5bf8a7b71ce5dc73aae888
Contents?: true
Size: 1.28 KB
Versions: 4
Compression:
Stored size: 1.28 KB
Contents
<div class="card--list__item"> <%= icon "actions", class: "card--list__icon", role: "img", "aria-hidden": true, remove_icon_class: true %> <%= link_to resource_locator(result).path, class: "card--list__text card__link card__link--block" do %> <h4 class="card--list__heading heading6"> <%= decidim_escape_translated(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><%= l result.start_date, format: :short %></span> <% end %> <% if result.end_date %> <strong><%= t("models.result.fields.end_date", scope: "decidim.accountability") %></strong> <span><%= l result.end_date, format: :short %></span> <% end %> <% if result.status %> <strong><%= t("models.result.fields.status", scope: "decidim.accountability") %></strong> <span><%= decidim_escape_translated(result.status.name) %></span> <% end %> </div> <% end %> <% if result.progress.present? %> <div class="card--list__data"> <span class="card--list__data__number"><%= display_percentage result.progress %></span> </div> <% end %> </div>
Version data entries
4 entries across 4 versions & 1 rubygems