From 4fbad8362caa62f9ade8ba37483231bf8871eb2e Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 1 Jul 2025 20:16:11 +0300 Subject: [PATCH] Remove "Edit Profile" button from user profile --- app/views/users/show.html.erb | 6 ------ config/locales/en.yml | 1 - 2 files changed, 7 deletions(-) diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index e6a178ca7..24f86db9a 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -306,9 +306,3 @@ <% end %> <%= render :partial => "diary_entries/profile_diaries", :locals => { :diary_entries => @user.diary_entries.visible.order(:created_at => :desc).limit(4) } %> - -<% if owned %> -
- <%= link_to t(".edit_profile"), profile_description_path, :class => "btn btn-outline-primary" %> -
-<% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 42f7cbd84..a1ff1f45a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -3028,7 +3028,6 @@ en: blocks by me: Blocks by Me create_mute: Mute this User destroy_mute: Unmute this User - edit_profile: Edit Profile send message: Send Message diary: Diary edits: Edits -- 2.39.5