Sha256: e37133d0ecbeebd051acbecb4a626520cbb59804264cf87c7c38a3dfaeee8575
Contents?: true
Size: 1.04 KB
Versions: 25
Compression:
Stored size: 1.04 KB
Contents
<div class="card--list__item"> <div class="card--list__text"> <%= icon "lock-unlocked", class: "card--list__icon" %> <div> <h5 class="card--list__heading"> <%= t("#{authorization.name}.name", scope: "decidim.authorization_handlers") %> </h5> <span class="text-small"> <% if authorization.expired? %> <%= t("expired_at", scope: "decidim.authorization_handlers", timestamp: l(authorization.expires_at, format: :long)) %> <% else %> <%= t("granted_at", scope: "decidim.authorization_handlers", timestamp: l(authorization.granted_at, format: :long)) %> <% if authorization.expires_at.present? %> <%= t("expires_at", scope: "decidim.authorization_handlers", timestamp: l(authorization.expires_at, format: :long)) %> <% end %> <% end %> </span> </div> </div> <% if authorization.expired? %> <div class="card--list__data"> <span class="card--list__data__icon"> <%= icon "reload" %> </span> </div> <% end %> </div>
Version data entries
25 entries across 25 versions & 1 rubygems