Sha256: 5ec58eec64588984c88bd685f8caf87544d1da33f21209924dfef41a1d906f27
Contents?: true
Size: 1.61 KB
Versions: 75
Compression:
Stored size: 1.61 KB
Contents
<div class="card"> <div class="card-divider"> <h2 class="card-title"> <%= t "decidim.admin.titles.impersonations" %> </h2> </div> <div class="card-section"> <div class="table-scroll"> <table class="table-list"> <thead> <tr> <th><%= t("models.impersonation_log.fields.admin", scope: "decidim.admin") %></th> <th><%= t("models.impersonation_log.fields.user", scope: "decidim.admin") %></th> <th><%= t("models.impersonation_log.fields.reason", scope: "decidim.admin") %></th> <th><%= t("models.impersonation_log.fields.started_at", scope: "decidim.admin") %></th> <th><%= t("models.impersonation_log.fields.ended_at", scope: "decidim.admin") %></th> <th><%= t("models.impersonation_log.fields.expired_at", scope: "decidim.admin") %></th> </tr> </thead> <tbody> <% @impersonation_logs.each do |impersonation_log| %> <tr> <td><%= impersonation_log.admin.name %></td> <td><%= impersonation_log.user.name %></td> <td><%= impersonation_log.reason %></td> <td><%= impersonation_log.started_at ? l(impersonation_log.started_at, format: :long) : nil %></td> <td><%= impersonation_log.ended_at ? l(impersonation_log.ended_at, format: :long) : nil %></td> <td><%= impersonation_log.expired_at ? l(impersonation_log.expired_at, format: :long) : nil %></td> </tr> <% end %> </tbody> </table> <%= paginate @impersonation_logs, theme: "decidim" %> </div> </div> </div>
Version data entries
75 entries across 75 versions & 1 rubygems