2019-12-08 02:49:28 +01:00
h1
= @fingerprint
' 's fingerprint profile
ul
2024-04-29 02:55:27 +02:00
li = link "View images this fingerprint has uploaded", to: ~p"/search?#{[q: "fingerprint:#{@fingerprint}"]}"
li = link "View comments this fingerprint has posted", to: ~p"/comments?#{[cq: "fingerprint:#{@fingerprint}"]}"
li = link "View posts this fingerprint has made", to: ~p"/posts?#{[pq: "fingerprint:#{@fingerprint}"]}"
2019-12-08 02:49:28 +01:00
2019-12-13 20:26:43 +01:00
= render PhilomenaWeb.BanView, "_bans.html", bans: @fingerprint_bans, conn: @conn
2019-12-08 02:49:28 +01:00
h2 Administration Options
2019-12-17 18:56:03 +01:00
ul
2024-04-29 02:55:27 +02:00
li = link "View tag changes", to: ~p"/fingerprint_profiles/#{@fingerprint}/tag_changes"
li = link "View source URL history", to: ~p"/fingerprint_profiles/#{@fingerprint}/source_changes"
li = link "View reports this fingerprint has made", to: ~p"/admin/reports?#{[rq: "fingerprint:#{@fingerprint}"]}"
li = link "View fingerprint ban history", to: ~p"/admin/fingerprint_bans?#{[fingerprint: @fingerprint]}"
li = link "Ban this sucker", to: ~p"/admin/fingerprint_bans/new?#{[fingerprint: @fingerprint]}"
2019-12-08 02:49:28 +01:00
2022-05-04 03:24:23 +02:00
h2 Actions
ul
2024-04-29 02:55:27 +02:00
li = link "Revert all tag changes", to: ~p"/tag_changes/full_revert?#{[fingerprint: @fingerprint]}", data: [confirm: "Are you really, really sure?", method: "create"]
li = link "...the button above didn't work (use carefully, this is resource-intensive)", to: ~p"/tag_changes/full_revert?#{[fingerprint: @fingerprint, 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"]
2022-05-04 03:24:23 +02:00
2019-12-08 02:49:28 +01:00
h4 Observed users
table.table
thead
tr
th Username
th Account Used
th Last Seen
th Created At
tbody
= for ufp <- @user_fps do
tr
td
2024-04-29 02:55:27 +02:00
= link ufp.user.name, to: ~p"/profiles/#{ufp.user}"
2019-12-08 02:49:28 +01:00
td
=> ufp.uses
' times
td
=> pretty_time ufp.updated_at
td
=> pretty_time ufp.user.created_at