Always show estimated difficulty adjustment
This commit is contained in:
parent
5f14b32a06
commit
e8fc1e8522
@ -14,7 +14,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<h5 class="card-title" i18n="difficulty-box.estimate">Estimate</h5>
|
<h5 class="card-title" i18n="difficulty-box.estimate">Estimate</h5>
|
||||||
<div *ngIf="epochData.remainingBlocks < 1870; else recentlyAdjusted" class="card-text" [ngStyle]="{'color': epochData.colorAdjustments}">
|
<div class="card-text" [ngStyle]="{'color': epochData.colorAdjustments}">
|
||||||
<span *ngIf="epochData.change > 0; else arrowDownDifficulty" >
|
<span *ngIf="epochData.change > 0; else arrowDownDifficulty" >
|
||||||
<fa-icon class="retarget-sign" [icon]="['fas', 'caret-up']" [fixedWidth]="true"></fa-icon>
|
<fa-icon class="retarget-sign" [icon]="['fas', 'caret-up']" [fixedWidth]="true"></fa-icon>
|
||||||
</span>
|
</span>
|
||||||
@ -24,9 +24,6 @@
|
|||||||
{{ epochData.change | absolute | number: '1.2-2' }}
|
{{ epochData.change | absolute | number: '1.2-2' }}
|
||||||
<span class="symbol">%</span>
|
<span class="symbol">%</span>
|
||||||
</div>
|
</div>
|
||||||
<ng-template #recentlyAdjusted>
|
|
||||||
<div class="card-text">—</div>
|
|
||||||
</ng-template>
|
|
||||||
<div class="symbol">
|
<div class="symbol">
|
||||||
<span i18n="difficulty-box.previous">Previous</span>:
|
<span i18n="difficulty-box.previous">Previous</span>:
|
||||||
<span [ngStyle]="{'color': epochData.colorPreviousAdjustments}">
|
<span [ngStyle]="{'color': epochData.colorPreviousAdjustments}">
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
<div class="symbol" i18n="difficulty-box.average-block-time">Average block time</div>
|
<div class="symbol" i18n="difficulty-box.average-block-time">Average block time</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div *ngIf="epochData.remainingBlocks < 1870; else recentlyAdjusted" class="card-text bigger" [ngStyle]="{'color': epochData.colorAdjustments}">
|
<div class="card-text bigger" [ngStyle]="{'color': epochData.colorAdjustments}">
|
||||||
<span *ngIf="epochData.change > 0; else arrowDownDifficulty" >
|
<span *ngIf="epochData.change > 0; else arrowDownDifficulty" >
|
||||||
<fa-icon class="retarget-sign" [icon]="['fas', 'caret-up']" [fixedWidth]="true"></fa-icon>
|
<fa-icon class="retarget-sign" [icon]="['fas', 'caret-up']" [fixedWidth]="true"></fa-icon>
|
||||||
</span>
|
</span>
|
||||||
@ -52,9 +52,6 @@
|
|||||||
{{ epochData.change | absolute | number: '1.2-2' }}
|
{{ epochData.change | absolute | number: '1.2-2' }}
|
||||||
<span class="symbol">%</span>
|
<span class="symbol">%</span>
|
||||||
</div>
|
</div>
|
||||||
<ng-template #recentlyAdjusted>
|
|
||||||
<div class="card-text">—</div>
|
|
||||||
</ng-template>
|
|
||||||
<div class="symbol">
|
<div class="symbol">
|
||||||
<span i18n="difficulty-box.previous">Previous</span>:
|
<span i18n="difficulty-box.previous">Previous</span>:
|
||||||
<span [ngStyle]="{'color': epochData.colorPreviousAdjustments}">
|
<span [ngStyle]="{'color': epochData.colorPreviousAdjustments}">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user