Sha256: 17e966ce740da5b094a927560def22acfc74dc1a16e18618402e6c803e6a6f3e
Contents?: true
Size: 799 Bytes
Versions: 31
Compression:
Stored size: 799 Bytes
Contents
<% if session[:proxy_resource_id] %> <% if session[:proxy_resource_class] %> <% resource = session[:proxy_resource_class].constantize.find(session[:proxy_resource_id]) %> <div> <ul class="collection acting_for_user"> <li class="collection-item avatar"> <img src="/assets/placeholder.png" alt="" class="circle"> <span class="title">You are acting on behalf of</span> <p><%= resource.email || resource.additional_login_param %><br> </p> <!-- add a link to detach --> <p> <%= link_to "Detach", set_proxy_resource_profiles_path({:resource => resource.class.name.pluralize, :id => resource.id.to_s, :unset_proxy => true}), method: :put, remote: true %> </p> </li> </ul> </div> <% end %> <% end %>
Version data entries
31 entries across 31 versions & 1 rubygems