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

Version Path
decidim-admin-0.27.9 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.27.8 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.27.7 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.27.6 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.26.10 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.26.9 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.27.5 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.26.8 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.27.4 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.27.3 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.26.7 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.26.5 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.27.2 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.27.1 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.26.4 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.27.0 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.26.3 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.27.0.rc2 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.27.0.rc1 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb
decidim-admin-0.26.2 app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb