Skip to content

Commit

Permalink
Remove title attribute from user settings (#21631)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl authored Dec 4, 2023
1 parent 7c61ec7 commit 9f204bc
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 22 deletions.
1 change: 1 addition & 0 deletions plugins/UsersManager/UsersManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ public function getClientSideTranslationKeys(&$translationKeys)
$translationKeys[] = 'UsersManager_PasswordChangeTerminatesOtherSessions';
$translationKeys[] = 'UsersManager_Pending';
$translationKeys[] = 'UsersManager_Permissions';
$translationKeys[] = 'UsersManager_PersonalSettings';
$translationKeys[] = 'UsersManager_PleaseStoreToken';
$translationKeys[] = 'UsersManager_PrivAdmin';
$translationKeys[] = 'UsersManager_PrivNone';
Expand Down
1 change: 0 additions & 1 deletion plugins/UsersManager/templates/userSettings.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<div
vue-entry="UsersManager.UserSettings"
is-users-admin-enabled="{{ isUsersAdminEnabled|json_encode }}"
title="{{ title|json_encode }}"
user-login="{{ userLogin|json_encode }}"
user-email="{{ userEmail|json_encode }}"
current-language-code="{{ currentLanguageCode|json_encode }}"
Expand Down
26 changes: 11 additions & 15 deletions plugins/UsersManager/vue/dist/UsersManager.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/UsersManager/vue/dist/UsersManager.umd.min.js

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions plugins/UsersManager/vue/src/UserSettings/UserSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div>
<PersonalSettings
:is-users-admin-enabled="isUsersAdminEnabled"
:title="title"
:title="translate('UsersManager_PersonalSettings')"
:user-login="userLogin"
:user-email="userEmail"
:current-language-code="currentLanguageCode"
Expand Down Expand Up @@ -56,10 +56,6 @@ export default defineComponent({
type: Boolean,
required: true,
},
title: {
type: String,
required: true,
},
userLogin: {
type: String,
required: true,
Expand Down

0 comments on commit 9f204bc

Please sign in to comment.