diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index a7c376aca94cdfffb3abc3942daa9c5531fb8d5a..36ff1d6ee0c273bda87f2ee9e4db38e8ccea06cb 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -86,13 +86,13 @@ <% end %> </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 %> + <% 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"> <h2 class="user-profile-heading">Posts</h2>