Skip to content

Commit

Permalink
mylife: smoother myachievements view (fixes #8040) (#8041)
Browse files Browse the repository at this point in the history
Co-authored-by: mutugiii <[email protected]>
Co-authored-by: dogi <[email protected]>
  • Loading branch information
3 people authored Jan 7, 2025
1 parent b8681b7 commit 773fca5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "planet",
"license": "AGPL-3.0",
"version": "0.16.37",
"version": "0.16.38",
"myplanet": {
"latest": "v0.21.74",
"min": "v0.20.74"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ <h2>{{user.firstName}} {{user.middleName}} {{user.lastName}}</h2>
<span *ngIf="user.birthplace" i18n>Birthplace: {{' ' + user.birthplace}} </span>
</div>
</div>
<mat-divider></mat-divider>
<div *ngIf="achievements.purpose">
<mat-divider></mat-divider>
<h3 i18n>My Purpose</h3>
<td-markdown [content]="achievements.purpose"></td-markdown>
</div>
<mat-divider></mat-divider>
<div *ngIf="achievements.goals">
<mat-divider></mat-divider>
<h3 i18n>My Goals</h3>
<td-markdown [content]="achievements.goals"></td-markdown>
</div>
<mat-divider></mat-divider>
<ng-container *planetBeta>
<div *ngIf="certifications.length > 0">
<mat-divider></mat-divider>
<h3 i18n>My Certifications</h3>
<mat-list class="certs-list">
<mat-list-item *ngFor="let certification of certifications">
Expand All @@ -52,8 +52,8 @@ <h3 i18n>My Certifications</h3>
</mat-list>
</div>
</ng-container>
<mat-divider></mat-divider>
<div *ngIf="achievements?.links?.length > 0">
<mat-divider></mat-divider>
<h3 i18n>My Links</h3>
<mat-list>
<mat-list-item class="mat-list-item-word-wrap" *ngFor="let link of achievements.links">
Expand All @@ -62,8 +62,8 @@ <h4 class="link-title" mat-line>{{link.title}}:</h4>
</mat-list-item>
</mat-list>
</div>
<mat-divider></mat-divider>
<div *ngIf="achievements.achievementsHeader || achievements.achievements.length > 0">
<mat-divider></mat-divider>
<h3 i18n>My Achievements</h3>
<td-markdown [content]="achievements.achievementsHeader"></td-markdown>
<mat-list>
Expand All @@ -85,8 +85,8 @@ <h3 i18n>My Achievements</h3>
</mat-list-item>
</mat-list>
</div>
<mat-divider></mat-divider>
<div *ngIf="achievements.references.length > 0">
<mat-divider></mat-divider>
<h3 i18n>My References</h3>
<mat-list class="references-list">
<mat-list-item class="mat-list-item-word-wrap" *ngFor="let reference of achievements.references">
Expand Down

0 comments on commit 773fca5

Please sign in to comment.