Sha256: 356c83110a16157240cc75f0b12daf25020d4aafe44deb2cee1039340d190ee0

Contents?: true

Size: 579 Bytes

Versions: 31

Compression:

Stored size: 579 Bytes

Contents

<% if current_user_impersonated? %>
  <div class="impersonation-warning" data-session-ends-at="<%= impersonation_session_ends_at.iso8601 %>">
    <%= t(".description_html", user_name: current_user.name) %>
    <%= t(".expire_time_html", minutes: impersonation_session_remaining_duration_in_minutes) %>
    <div class="impersonation-warning__action">
      <%= button_to t(".close_session"), decidim_admin.close_session_impersonatable_user_impersonations_path(current_user), class: "button tiny impersonation-bar__button", data: { disable: true } %>
    </div>
  </div>
<% end %>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
decidim-core-0.26.1 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.26.0 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.26.0.rc2 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.26.0.rc1 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.25.2 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.25.1 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.25.0 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.25.0.rc4 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.25.0.rc3 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.25.0.rc2 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.25.0.rc1 app/views/layouts/decidim/_impersonation_warning.html.erb