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:
Tom Hughes 2009-10-09 15:45:01 +00:00
parent fc9df968fc
commit 921c150b63
2 changed files with 8 additions and 5 deletions

View file

@ -43,10 +43,11 @@
<% end %> <% end %>
</div> </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) %> <% if @user and @user.administrator? %>
</P> <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 %> <% end %>
<h3><%= t 'user.view.user image heading' %></h3> <h3><%= t 'user.view.user image heading' %></h3>

View file

@ -939,6 +939,8 @@ en:
add as friend: add as friend add as friend: add as friend
mapper since: "Mapper since:" mapper since: "Mapper since:"
ago: "({{time_in_words_ago}} ago)" ago: "({{time_in_words_ago}} ago)"
email address: "Email address:"
created from: "Created from:"
user image heading: User image user image heading: User image
delete image: Delete Image delete image: Delete Image
upload an image: Upload an image upload an image: Upload an image