Rename "my settings" to "my account" in menu

pull/636/head
Chocobozzz 2018-06-07 17:05:57 +02:00
parent 6cca7360eb
commit 379acb21bc
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 9 additions and 3 deletions

View File

@ -15,6 +15,11 @@ const myAccountRoutes: Routes = [
component: MyAccountComponent,
canActivateChild: [ MetaGuard, LoginGuard ],
children: [
{
path: '',
redirectTo: 'settings',
pathMatch: 'full'
},
{
path: 'settings',
component: MyAccountSettingsComponent,

View File

@ -18,8 +18,8 @@
My public profile
</a>
<a i18n routerLink="/my-account/settings" class="dropdown-item" title="My settings">
My settings
<a i18n routerLink="/my-account" class="dropdown-item" title="My account">
My account
</a>
<a i18n (click)="logout($event)" class="dropdown-item" title="Log out" href="#">

View File

@ -57,7 +57,8 @@ git commit package.json client/package.json -m "Bumped to version $version"
git tag -s -a "$version" -m "$version"
npm run build
rm "./client/dist/en-US/stats.json"
rm "./client/dist/en_US/stats.json"
rm "./client/dist/embed-stats.json"
# Creating the archives
(