aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-07 17:05:57 +0200
committerChocobozzz <me@florianbigard.com>2018-06-07 17:05:57 +0200
commit379acb21bcc491efdc0118ea714790bb34238d66 (patch)
treeaba72ff8671733437b18456955c72e4ef53786ec /client
parent6cca7360eb9027e1544f7513df7da4684061ef7e (diff)
downloadPeerTube-379acb21bcc491efdc0118ea714790bb34238d66.tar.gz
PeerTube-379acb21bcc491efdc0118ea714790bb34238d66.tar.zst
PeerTube-379acb21bcc491efdc0118ea714790bb34238d66.zip
Rename "my settings" to "my account" in menu
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+my-account/my-account-routing.module.ts5
-rw-r--r--client/src/app/menu/menu.component.html4
2 files changed, 7 insertions, 2 deletions
diff --git a/client/src/app/+my-account/my-account-routing.module.ts b/client/src/app/+my-account/my-account-routing.module.ts
index 7e19cd994..91b464f75 100644
--- a/client/src/app/+my-account/my-account-routing.module.ts
+++ b/client/src/app/+my-account/my-account-routing.module.ts
@@ -16,6 +16,11 @@ const myAccountRoutes: Routes = [
16 canActivateChild: [ MetaGuard, LoginGuard ], 16 canActivateChild: [ MetaGuard, LoginGuard ],
17 children: [ 17 children: [
18 { 18 {
19 path: '',
20 redirectTo: 'settings',
21 pathMatch: 'full'
22 },
23 {
19 path: 'settings', 24 path: 'settings',
20 component: MyAccountSettingsComponent, 25 component: MyAccountSettingsComponent,
21 data: { 26 data: {
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html
index 167729405..8e3b295f7 100644
--- a/client/src/app/menu/menu.component.html
+++ b/client/src/app/menu/menu.component.html
@@ -18,8 +18,8 @@
18 My public profile 18 My public profile
19 </a> 19 </a>
20 20
21 <a i18n routerLink="/my-account/settings" class="dropdown-item" title="My settings"> 21 <a i18n routerLink="/my-account" class="dropdown-item" title="My account">
22 My settings 22 My account
23 </a> 23 </a>
24 24
25 <a i18n (click)="logout($event)" class="dropdown-item" title="Log out" href="#"> 25 <a i18n (click)="logout($event)" class="dropdown-item" title="Log out" href="#">