Avoid id
duplication conflict with main navigation from settings profile link (#32181)
This commit is contained in:
parent
8ac00533ff
commit
1283c3544c
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
.content__heading__tabs
|
.content__heading__tabs
|
||||||
= render_navigation renderer: :links do |primary|
|
= render_navigation renderer: :links do |primary|
|
||||||
:ruby
|
:ruby
|
||||||
primary.item :profile, safe_join([material_symbol('person'), t('settings.edit_profile')]), settings_profile_path
|
primary.item :edit_profile, safe_join([material_symbol('person'), t('settings.edit_profile')]), settings_profile_path
|
||||||
primary.item :privacy, safe_join([material_symbol('lock'), t('privacy.title')]), settings_privacy_path
|
primary.item :privacy_reach, safe_join([material_symbol('lock'), t('privacy.title')]), settings_privacy_path
|
||||||
primary.item :verification, safe_join([material_symbol('check'), t('verification.verification')]), settings_verification_path
|
primary.item :verification, safe_join([material_symbol('check'), t('verification.verification')]), settings_verification_path
|
||||||
primary.item :featured_tags, safe_join([material_symbol('tag'), t('settings.featured_tags')]), settings_featured_tags_path
|
primary.item :featured_tags, safe_join([material_symbol('tag'), t('settings.featured_tags')]), settings_featured_tags_path
|
||||||
|
|
|
@ -35,7 +35,7 @@ SimpleNavigation::Configuration.run do |navigation|
|
||||||
s.item :export, safe_join([material_symbol('cloud_download'), t('settings.export')]), settings_export_path
|
s.item :export, safe_join([material_symbol('cloud_download'), t('settings.export')]), settings_export_path
|
||||||
end
|
end
|
||||||
|
|
||||||
n.item :invites, safe_join([material_symbol('person_add'), t('invites.title')]), invites_path, if: -> { current_user.can?(:invite_users) && current_user.functional? && !self_destruct }
|
n.item :user_invites, safe_join([material_symbol('person_add'), t('invites.title')]), invites_path, if: -> { current_user.can?(:invite_users) && current_user.functional? && !self_destruct }
|
||||||
n.item :development, safe_join([material_symbol('code'), t('settings.development')]), settings_applications_path, highlights_on: %r{/settings/applications}, if: -> { current_user.functional? && !self_destruct }
|
n.item :development, safe_join([material_symbol('code'), t('settings.development')]), settings_applications_path, highlights_on: %r{/settings/applications}, if: -> { current_user.functional? && !self_destruct }
|
||||||
|
|
||||||
n.item :trends, safe_join([material_symbol('trending_up'), t('admin.trends.title')]), admin_trends_statuses_path, if: -> { current_user.can?(:manage_taxonomies) && !self_destruct } do |s|
|
n.item :trends, safe_join([material_symbol('trending_up'), t('admin.trends.title')]), admin_trends_statuses_path, if: -> { current_user.can?(:manage_taxonomies) && !self_destruct } do |s|
|
||||||
|
|
Loading…
Reference in a new issue