Add link to profile editing from “Privacy and reach” (#39309)

This commit is contained in:
Claire 2026-06-05 16:24:42 +02:00 committed by GitHub
parent 472b28e5dd
commit 2778eeffba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 0 deletions

View File

@ -487,6 +487,8 @@ $content-width: 840px;
.title {
font-weight: 600;
margin-bottom: 8px;
font-size: inherit;
line-height: inherit;
}
a {

View File

@ -38,6 +38,14 @@
.fields-group
= ff.input :show_application, wrapper: :with_label
%aside.callout
= material_symbol 'info'
.content
.body
%p.title= t('edit_profile.redesign_title')
%p= t('edit_profile.privacy_redesign_body')
= link_to t('edit_profile.redesign_button'), '/profile/edit'
- if Rails.application.config.x.email_subscriptions && Setting.email_subscriptions && current_user.can?(:manage_email_subscriptions)
%h2= t('privacy.email_subscriptions')

View File

@ -1501,6 +1501,7 @@ en:
your_appeal_rejected: Your appeal has been rejected
edit_profile:
other: Other
privacy_redesign_body: The choice to show your follows and followers is now made directly from your profile.
redesign_body: Profile editing can now be accessed directly from the profile page.
redesign_button: Go there
redesign_title: Theres a new profile editing experience