X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3f8cf322723750aa4c8d062d4a727f9107ceccb4..764f808d5a5faebc835ed0f588bae4a306ad687d:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 0ea411811..5aaeabb23 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -1,178 +1,196 @@ <% content_for :heading do %>
- <%= user_image @user, :class => "" %> + <%= user_image @user, :class => "user_image_no_margins" %>

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

<% if current_user and @user.id == current_user.id %> - + <% else %> - + <% end %> -

+

- <%= t ".mapper since" %> <%= l @user.creation_time.to_date, :format => :long %> - <% unless @user.terms_agreed %> - | - <%= t ".ct status" %> - <% if @user.terms_seen? -%> - <%= t ".ct declined" %> - <% else -%> - <%= t ".ct undecided" %> +
+
<%= t ".mapper since" %>
+
<%= l @user.creation_time.to_date, :format => :long %>
+ <% unless @user.terms_agreed %> +
<%= t ".ct status" %>
+
+ <% if @user.terms_seen? -%> + <%= t ".ct declined" %> + <% else -%> + <%= t ".ct undecided" %> + <% end -%> +
<% end -%> - <% end -%> +
-

-
-
- - <% if can?(:set_status, User) || can?(:destroy, User) %> -
+ + <% if can?(:set_status, User) || can?(:destroy, User) %> + <% end %> - - <% end %> - - <% if current_user and current_user.administrator? -%> -
- <%= t ".email address" %> <%= @user.email %> - <% unless @user.creation_ip.nil? -%> - <%= t ".created from" %> <%= @user.creation_ip %> + + <% if current_user and current_user.administrator? -%> +
+ +
+
<%= t ".email address" %>
+
<%= @user.email %>
+ <% unless @user.creation_ip.nil? -%> +
<%= t ".created from" %>
+
<%= @user.creation_ip %>
+ <% end -%> +
<%= t ".status" %>
+
<%= @user.status.capitalize %>
+
<%= t ".spam score" %>
+
<%= @user.spam_score %>
+
+
+
<% end -%> - <%= t ".status" %> <%= @user.status.capitalize %> - <%= t ".spam score" %> <%= @user.spam_score %>
- <% end -%> + <% end %>
<%= @user.description.to_html %>