<%= link("View tag changes", to: ~p"/ip_profiles/#{to_string(@ip)}/tag_changes") %>
<%= link("View source URL history", to: ~p"/ip_profiles/#{to_string(@ip)}/source_changes") %>
<%= link("View reports this IP has made", to: ~p"/admin/reports?#{[rq: "ip:#{@ip}"]}") %>
<%= link("View IP ban history", to: ~p"/admin/subnet_bans?#{[ip: to_string(@ip)]}") %>
<%= link("Ban this sucker", to: ~p"/admin/subnet_bans/new?#{[specification: to_string(@ip)]}") %>
Actions
<%= link("Revert all tag changes", to: ~p"/tag_changes/full_revert?#{[ip: to_string(@ip)]}", data: [confirm: "Are you really, really sure?", method: "create"]) %>
<%= link("...the button above didn't work (use carefully, this is resource-intensive)",
to: ~p"/tag_changes/full_revert?#{[ip: to_string(@ip), batch_size: 1]}",
data: [confirm: "Please confirm that you're aware that this may crash the site and are ready to take on the full wrath of the admins if it does so after you press this button.", method: "create"]
) %>
Observed users
Username
Account Used
Last Seen
Created At
<%= for uip <- @user_ips do %>
<%= link(uip.user.name, to: ~p"/profiles/#{uip.user}") %>