X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/31edc7dff6f4305366d0f93d35ba3fb1956bb71f..f1935b1c5786de8f27bee9b6b2da2f28f650468f:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 87eb9b45f..ac6938af7 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -2,16 +2,16 @@
<%= 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? -%> -
+