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.27.9 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.27.8 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.27.7 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.27.6 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.26.10 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.26.9 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.27.5 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.26.8 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.27.4 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.27.3 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.26.7 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.26.5 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.27.2 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.27.1 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.26.4 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.27.0 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.26.3 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.27.0.rc2 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.27.0.rc1 app/views/layouts/decidim/_impersonation_warning.html.erb
decidim-core-0.26.2 app/views/layouts/decidim/_impersonation_warning.html.erb