Sha256: 679e1cb0348a49a32293abf3ea4854bcea850fb042b4712e9804f1b52b093922
Contents?: true
Size: 1.33 KB
Versions: 46
Compression:
Stored size: 1.33 KB
Contents
<div class="card--list__text"> <%= icon "lock-locked", class: "card--list__icon", role: "img", "aria-hidden": true %> <div> <h5 class="card--list__heading"> <%= t("#{authorization.name}.name", scope: "decidim.authorization_handlers") %> </h5> <span class="text-small <%= "alert" if authorization.expired? %>"> <% 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", aria_label: t("renew", scope: "decidim.authorization_handlers"), role: "img" %> </span> </div> <% elsif authorization.renewable? %> <div class="card--list__data"> <span class="card--list__data__icon"> <%= icon "reload", aria_label: t("renew", scope: "decidim.authorization_handlers"), role: "img" %> </span> </div> <% end %>
Version data entries
46 entries across 46 versions & 1 rubygems