Display user's email addresses and the IP address used to create
their account to people that are logged in as administrators.
This commit is contained in:
parent
fc9df968fc
commit
921c150b63
2 changed files with 8 additions and 5 deletions
|
@ -43,10 +43,11 @@
|
|||
<% end %>
|
||||
</div>
|
||||
|
||||
<% if @this_user != nil %>
|
||||
<P>
|
||||
<b><%= t 'user.view.mapper since' %></b> <%= l @this_user.creation_time %> <%= t 'user.view.ago', :time_in_words_ago => time_ago_in_words(@this_user.creation_time) %>
|
||||
</P>
|
||||
<p><b><%= t 'user.view.mapper since' %></b> <%= l @this_user.creation_time %> <%= t 'user.view.ago', :time_in_words_ago => time_ago_in_words(@this_user.creation_time) %></p>
|
||||
|
||||
<% if @user and @user.administrator? %>
|
||||
<p><b><%= t 'user.view.email address' %></b> <%= @this_user.email %></p>
|
||||
<p><b><%= t 'user.view.created from' %></b> <%= @this_user.creation_ip %></p>
|
||||
<% end %>
|
||||
|
||||
<h3><%= t 'user.view.user image heading' %></h3>
|
||||
|
|
|
@ -939,6 +939,8 @@ en:
|
|||
add as friend: add as friend
|
||||
mapper since: "Mapper since:"
|
||||
ago: "({{time_in_words_ago}} ago)"
|
||||
email address: "Email address:"
|
||||
created from: "Created from:"
|
||||
user image heading: User image
|
||||
delete image: Delete Image
|
||||
upload an image: Upload an image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue