orbit-4-2/app/views/admin/users_new_interface/destroy.js.erb

9 lines
240 B
Plaintext

$("#<%= dom_id @user %>").remove();
<% if !@not_approved_count.nil? %>
<% if @not_approved_count > 0 %>
$("#registration_count").text("(<%= @not_approved_count %>)");
<% else %>
$("#registration_count").remove();
<% end %>
<% end %>