From c882b7b77c34361972f6e6cf9c3ca0c93bf50761 Mon Sep 17 00:00:00 2001 From: Monica Cellio <cellio@pobox.com> Date: Thu, 6 Feb 2025 17:43:35 -0500 Subject: [PATCH] better placement (less in your face, but still obvious) --- app/views/users/show.html.erb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 493d19b49..a7c376aca 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -20,14 +20,6 @@ </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="grid <%= deleted_user?(@user) ? 'deleted-content' : '' %>"> <div class="grid--cell is-9-lg is-12"> <div class="h-p-0 h-p-t-0"> @@ -94,6 +86,14 @@ <% 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 %> + <div class="user-profile-heading-container"> <h2 class="user-profile-heading">Posts</h2> <% if @posts.size > 0 %> -- GitLab