X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/efa2c20bff4d68cfdaf5fc532ba5eb0711e7cd2d..af637e0d92c200fcd18a370d1e460a05e9ee1a4a:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 440d68874..ac6938af7 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 %>