Feature/various frontend improvements 2 (#140)

* Change buttons to links

* Update changelog
pull/141/head
Thomas 3 years ago committed by GitHub
parent 7788465272
commit aa4206af0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

@ -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 '';

@ -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