Move the administrator details further down the user page
This commit is contained in:
parent
582e5b225d
commit
5c39e5870d
1 changed files with 9 additions and 11 deletions
|
@ -78,17 +78,6 @@
|
|||
<% end %>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<% if @user and @user.administrator? -%>
|
||||
<p><b><%= t 'user.view.email address' %></b> <%= @this_user.email %></p>
|
||||
<% unless @this_user.creation_ip.nil? -%>
|
||||
<p><b><%= t 'user.view.created from' %></b> <%= @this_user.creation_ip %></p>
|
||||
<% end -%>
|
||||
<p><b><%= t 'user.view.status' %></b> <%= @this_user.status.capitalize %></p>
|
||||
<p><b><%= t 'user.view.spam score' %></b> <%= @this_user.spam_score %></p>
|
||||
<% end -%>
|
||||
|
||||
<div id="description"><%= @this_user.description.to_html %></div>
|
||||
|
||||
<p class='deemphasize'><small>
|
||||
|
@ -105,6 +94,15 @@
|
|||
</small>
|
||||
</p>
|
||||
|
||||
<% if @user and @user.administrator? -%>
|
||||
<p><b><%= t 'user.view.email address' %></b> <%= @this_user.email %></p>
|
||||
<% unless @this_user.creation_ip.nil? -%>
|
||||
<p><b><%= t 'user.view.created from' %></b> <%= @this_user.creation_ip %></p>
|
||||
<% end -%>
|
||||
<p><b><%= t 'user.view.status' %></b> <%= @this_user.status.capitalize %></p>
|
||||
<p><b><%= t 'user.view.spam score' %></b> <%= @this_user.spam_score %></p>
|
||||
<% end -%>
|
||||
|
||||
<% if @user and @this_user.id == @user.id %>
|
||||
<div id="map" class="user_map">
|
||||
<% if @this_user.home_lat.nil? or @this_user.home_lon.nil? %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue