Sha256: 2467a8931ae56d0f7e6ab8ab2d627ec4f238e5eebc700f04b91f3f3017612e51
Contents?: true
Size: 1.25 KB
Versions: 7
Compression:
Stored size: 1.25 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"> <%= translated_attribute(result.title) %> </h4> <div class="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><%= 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
7 entries across 7 versions & 1 rubygems