Skip to content

Commit

Permalink
mylife: better achievements birthplace (fixes #7427) (#7428)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
Mutugiii and dogi committed Mar 22, 2024
1 parent ec3d368 commit 976534c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "planet",
"license": "AGPL-3.0",
"version": "0.14.18",
"version": "0.14.19",
"myplanet": {
"latest": "v0.14.21",
"latest": "v0.14.45",
"min": "v0.13.69"
},
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<div *ngIf="achievements !== undefined" class="achievements-container">
<h2>{{user.firstName}} {{user.middleName}} {{user.lastName}}</h2>
<div>
<ng-container *ngIf="user.birthDate"><span i18n>Birthdate:</span>{{' ' + (user.birthDate | date: medium) + ' '}}</ng-container>
<span *ngIf="user.birthplace" i18n>Birthplace:</span>{{' ' + user.birthplace}}
<ng-container *ngIf="user.birthDate"><span i18n>Birthdate: {{' ' + (user.birthDate | date: medium) + ' '}}</span></ng-container><br/><br/>
<span *ngIf="user.birthplace" i18n>Birthplace: {{' ' + user.birthplace}} </span>
</div>
<div *ngIf="achievements.purpose">
<h3 i18n>My Purpose</h3>
Expand Down
2 changes: 2 additions & 0 deletions src/app/users/users-router.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ import { UsersArchiveComponent } from './users-archive/users-archive.component';
import { UsersProfileComponent } from './users-profile/users-profile.component';
import { UsersUpdateComponent } from './users-update/users-update.component';
import { UsersAchievementsComponent } from './users-achievements/users-achievements.component';
import { UsersAchievementsUpdateComponent } from './users-achievements/users-achievements-update.component';

const routes: Routes = [
{ path: '', component: UsersComponent },
{ path: 'delete/request', component: UsersArchiveComponent },
{ path: 'profile/:name', component: UsersProfileComponent },
{ path: 'update/:name', component: UsersUpdateComponent },
{ path: 'profile/:name/achievements', component: UsersAchievementsComponent },
{ path: 'profile/:name/achievements/update', component: UsersAchievementsUpdateComponent },
{ path: 'submission', component: UsersUpdateComponent, data: { submission: true } }
];

Expand Down

0 comments on commit 976534c

Please sign in to comment.