Browse Source

Feature/various frontend improvements 2 (#140)

* Change buttons to links

* Update changelog
pull/141/head
Thomas 3 years ago
committed by GitHub
parent
commit
aa4206af0e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      CHANGELOG.md
  2. 5
      apps/client/src/app/pages/admin/admin-page.component.ts
  3. 8
      apps/client/src/app/pages/tools/tools-page.html

6
CHANGELOG.md

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
### Changed
- Changed the buttons to links (`<a>`) on the tools page
## 1.10.1 - 02.06.2021
### Fixed

5
apps/client/src/app/pages/admin/admin-page.component.ts

@ -80,7 +80,10 @@ export class AdminPageComponent implements OnInit {
addSuffix: true
});
return distanceString === '0 seconds ago' ? 'just now' : distanceString;
return distanceString === 'in 0 seconds' ||
distanceString === '0 seconds ago'
? 'just now'
: distanceString;
}
return '';

8
apps/client/src/app/pages/tools/tools-page.html

@ -9,14 +9,14 @@
portfolio.
</p>
<p class="text-right">
<button
<a
color="primary"
i18n
mat-button
[routerLink]="['/tools', 'analysis']"
>
Open Analysis →
</button>
</a>
</p>
</mat-card>
</div>
@ -28,14 +28,14 @@
risks in your portfolio.
</p>
<p class="text-right">
<button
<a
color="primary"
i18n
mat-button
[routerLink]="['/tools', 'report']"
>
Open X-ray →
</button>
</a>
</p>
</mat-card>
</div>

Loading…
Cancel
Save