X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1253bdcdc5dc43dc3880751a7255256c292e0ddc..8a6c34fa78cf4fa52332d90448dae50087f2b510:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 6335b06d9..81fda926b 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -131,6 +131,10 @@ <% end -%> <% end -%> + <% if current_user&.moderator? || current_user&.administrator? %> +
<%= t ".uid" %>
+
<%= link_to @user.id, api_user_path(:id => @user.id) %>
+ <% end -%>