X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4cf3c3b6ed7cc6ab0728b320afde5854489629fb..c07bb0745d1ebc58637f8b46f8615dca03fada2d:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 4e48ee983..caa7730cb 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -2,9 +2,9 @@
<%= user_image @user %>
-

<%= @user.display_name %><%= role_icons(@user) %>

+

<%= @user.display_name %> <%= role_icons(@user) %>

<% if current_user and @user.id == current_user.id %> - +
-
<%= @user.description.to_html %>
+
<%= @user.description.to_html %>
+ + <% if current_user and @user.id == current_user.id %> +
+ <%= link_to t(".edit_profile"), edit_profile_path, :class => "btn btn-outline-primary" %> +
+ <% end %>
<% if current_user and current_user.administrator? -%> -
+