Feature/various frontend improvements 2 (#140)
* Change buttons to links * Update changelog
This commit is contained in:
parent
7788465272
commit
aa4206af0e
@ -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/),
|
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).
|
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
|
## 1.10.1 - 02.06.2021
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -80,7 +80,10 @@ export class AdminPageComponent implements OnInit {
|
|||||||
addSuffix: true
|
addSuffix: true
|
||||||
});
|
});
|
||||||
|
|
||||||
return distanceString === '0 seconds ago' ? 'just now' : distanceString;
|
return distanceString === 'in 0 seconds' ||
|
||||||
|
distanceString === '0 seconds ago'
|
||||||
|
? 'just now'
|
||||||
|
: distanceString;
|
||||||
}
|
}
|
||||||
|
|
||||||
return '';
|
return '';
|
||||||
|
@ -9,14 +9,14 @@
|
|||||||
portfolio.
|
portfolio.
|
||||||
</p>
|
</p>
|
||||||
<p class="text-right">
|
<p class="text-right">
|
||||||
<button
|
<a
|
||||||
color="primary"
|
color="primary"
|
||||||
i18n
|
i18n
|
||||||
mat-button
|
mat-button
|
||||||
[routerLink]="['/tools', 'analysis']"
|
[routerLink]="['/tools', 'analysis']"
|
||||||
>
|
>
|
||||||
Open Analysis →
|
Open Analysis →
|
||||||
</button>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
</div>
|
</div>
|
||||||
@ -28,14 +28,14 @@
|
|||||||
risks in your portfolio.
|
risks in your portfolio.
|
||||||
</p>
|
</p>
|
||||||
<p class="text-right">
|
<p class="text-right">
|
||||||
<button
|
<a
|
||||||
color="primary"
|
color="primary"
|
||||||
i18n
|
i18n
|
||||||
mat-button
|
mat-button
|
||||||
[routerLink]="['/tools', 'report']"
|
[routerLink]="['/tools', 'report']"
|
||||||
>
|
>
|
||||||
Open X-ray →
|
Open X-ray →
|
||||||
</button>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user