philomena/lib/philomena_web/templates/profile/detail/index.html.slime

26 lines
706 B
Text
Raw Normal View History

2019-12-17 03:26:43 +01:00
h2
= link @user.name, to: ~p"/profiles/#{@user}"
2019-12-17 03:26:43 +01:00
| 's User Details
h4 Mod Notes
= render PhilomenaWeb.Admin.ModNoteView, "_table.html", mod_notes: @mod_notes, conn: @conn
= link "Add New Note", to: ~p"/admin/mod_notes/new?#{[notable_id: @user.id, notable_type: "User"]}"
2019-12-17 03:26:43 +01:00
h4 Name History
table.table
thead
tr
th Name
th Changed
tbody
= for nc <- @name_changes do
tr
td = nc.name
td = pretty_time nc.created_at
h4 More Details
ul
li = link "IP Address Usage History", to: ~p"/profiles/#{@user}/ip_history"
li = link "Fingerprint Usage History", to: ~p"/profiles/#{@user}/fp_history"
li = link "Potential Aliases", to: ~p"/profiles/#{@user}/aliases"