From c9474661c06fe36ec53c0561965643bf9d439ee6 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Fri, 22 Nov 2024 12:38:53 +0000 Subject: [PATCH] Remove "Previously known as" Causes slow profile page loads. More we can clean up around this, but this fixes the immediate user-facing issue. Fixes https://github.com/mysociety/alaveteli/issues/8204 --- app/views/user/show/_show_profile.html.erb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/views/user/show/_show_profile.html.erb b/app/views/user/show/_show_profile.html.erb index c3c25e2b71..f377d66750 100644 --- a/app/views/user/show/_show_profile.html.erb +++ b/app/views/user/show/_show_profile.html.erb @@ -43,13 +43,6 @@

<%= link_to _('Change your name'), edit_users_name_path %>

<% end %> - <% if @display_user.active? && @display_user.safe_previous_names.any? %> -

- <%= _('Previously known as:') %> - <%= @display_user.safe_previous_names.to_sentence %> -

- <% end %> -

<%= _('Joined {{site_name}} in {{year}}', :site_name => site_name,