From: Anton Khorev Date: Tue, 26 Mar 2024 03:12:16 +0000 (+0300) Subject: Add links for admins from user page to user list filtered by ip/status X-Git-Tag: live~168^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/02c5ca6972bf9af3114b563e8897e83298a5b871 Add links for admins from user page to user list filtered by ip/status --- diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 253945b9b..9da3f8f04 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -213,10 +213,10 @@
<%= @user.email %>
<% unless @user.creation_ip.nil? -%>
<%= t ".created from" %>
-
<%= @user.creation_ip %>
+
<%= link_to @user.creation_ip, users_path(:ip => @user.creation_ip) %>
<% end -%>
<%= t ".status" %>
-
<%= @user.status.capitalize %>
+
<%= link_to @user.status.capitalize, users_path(:status => @user.status) %>
<%= t ".spam score" %>
<%= @user.spam_score %>