Fingerprint | Created | Expires | Reason/Note | Ban ID | Options |
---|---|---|---|---|---|
<%= link(ban.fingerprint, to: ~p"/fingerprint_profiles/#{ban.fingerprint}") %> | <%= pretty_time(ban.created_at) %> <%= user_abbrv(ban.banning_user) %> | <%= pretty_time(ban.valid_until) %> |
<%= ban.reason %>
<%= if present?(ban.note) do %>
Note: <%= ban.note %> <% end %> |
<%= ban.generated_ban_id %> | <%= link("Edit", to: ~p"/admin/fingerprint_bans/#{ban}/edit") %> <%= if @current_user.role == "admin" do %> • <%= link("Destroy", to: ~p"/admin/fingerprint_bans/#{ban}", data: [confirm: "Are you really, really sure?", method: "delete"]) %> <% end %> |