unify time rendering components

This commit is contained in:
Mononaut
2023-03-05 18:54:04 -06:00
parent 430decd124
commit 93de0cff45
19 changed files with 131 additions and 322 deletions

View File

@@ -43,7 +43,7 @@
‎{{ block.timestamp * 1000 | date:'yyyy-MM-dd HH:mm' }}
</td>
<td class="mined" *ngIf="!widget" [class]="indexingAvailable ? '' : 'legacy'">
<app-time-since [time]="block.timestamp" [fastRender]="true"></app-time-since>
<app-time kind="since" [time]="block.timestamp" [fastRender]="true"></app-time>
</td>
<td *ngIf="auditAvailable" class="health text-right" [ngClass]="{'widget': widget, 'legacy': !indexingAvailable}">
<a