Rename "my settings" to "my account" in menu
authorChocobozzz <me@florianbigard.com>
Thu, 7 Jun 2018 15:05:57 +0000 (17:05 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 7 Jun 2018 15:05:57 +0000 (17:05 +0200)
client/src/app/+my-account/my-account-routing.module.ts
client/src/app/menu/menu.component.html
scripts/release.sh

index 7e19cd9945cf3e2db0ae509a7399b83458483389..91b464f75e9adca112b48a2abe9ebcd27a76ae26 100644 (file)
@@ -15,6 +15,11 @@ const myAccountRoutes: Routes = [
     component: MyAccountComponent,
     canActivateChild: [ MetaGuard, LoginGuard ],
     children: [
+      {
+        path: '',
+        redirectTo: 'settings',
+        pathMatch: 'full'
+      },
       {
         path: 'settings',
         component: MyAccountSettingsComponent,
index 1677294054f7728cb8001a19909236a66471172c..8e3b295f77bcab42407db800bbdd27d0cf8df168 100644 (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="#">
index 393955264b2155ecbc745fcec88c08da47d3fd10..9adfe2b5d0727e5e5d56eec9be9f34bb2253002f 100755 (executable)
@@ -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
 (