Sha256: 9a67f0aa290caaf1e1a79d1049137feca8b5ef0681ce77b108868aada3612caf
Contents?: true
Size: 1.24 KB
Versions: 33
Compression:
Stored size: 1.24 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"> <%= 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 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
33 entries across 33 versions & 1 rubygems