Skip to content
Snippets Groups Projects
Commit c882b7b7 authored by Monica Cellio's avatar Monica Cellio
Browse files

better placement (less in your face, but still obvious)

parent ee183731
No related branches found
No related tags found
No related merge requests found
...@@ -20,14 +20,6 @@ ...@@ -20,14 +20,6 @@
</div> </div>
<% end %> <% end %>
<% if moderator? && @user.community_user.mod_warnings&.size.positive? %>
<div class="notice is-info h-m-b-4">
<p><%= pluralize(@user.community_user.mod_warnings.count, 'message') %> sent,
most recent: <%= time_ago_in_words(@user.community_user.latest_warning) %> ago
</p>
</div>
<% end %>
<div class="grid <%= deleted_user?(@user) ? 'deleted-content' : '' %>"> <div class="grid <%= deleted_user?(@user) ? 'deleted-content' : '' %>">
<div class="grid--cell is-9-lg is-12"> <div class="grid--cell is-9-lg is-12">
<div class="h-p-0 h-p-t-0"> <div class="h-p-0 h-p-t-0">
...@@ -94,6 +86,14 @@ ...@@ -94,6 +86,14 @@
<% end %> <% end %>
</div> </div>
<% if moderator? && @user.community_user.mod_warnings&.size.positive? %>
<div class="notice is-info h-m-b-4">
<p><%= pluralize(@user.community_user.mod_warnings.count, 'message') %> sent,
most recent: <%= time_ago_in_words(@user.community_user.latest_warning) %> ago
</p>
</div>
<% end %>
<div class="user-profile-heading-container"> <div class="user-profile-heading-container">
<h2 class="user-profile-heading">Posts</h2> <h2 class="user-profile-heading">Posts</h2>
<% if @posts.size > 0 %> <% if @posts.size > 0 %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment