Merge pull request #1485 from mempool/nymkappa/bugfix/pool-page-label

Update pool detail page label - Fix no data text
This commit is contained in:
softsimon 2022-03-30 16:24:53 +04:00 committed by GitHub
commit 0503bc6de8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@
<tr *ngIf="isMobile()"> <tr *ngIf="isMobile()">
<td colspan=2> <td colspan=2>
<span i18n="mining.tags" class="label">Tags</span> <span i18n="mining.tags" class="label">Tags</span>
<div *ngIf="poolStats.pool.regexes.length else nodata" class="overflow-auto"> <div *ngIf="poolStats.pool.regexes.length else nodatamobile" class="overflow-auto">
{{ poolStats.pool.regexes }} {{ poolStats.pool.regexes }}
</div> </div>
</td> </td>
@ -102,7 +102,7 @@
<!-- Empty blocks mobile --> <!-- Empty blocks mobile -->
<tr *ngIf="isMobile()"> <tr *ngIf="isMobile()">
<td colspan="2"> <td colspan="2">
<span class="label" i18n="mining.empty-blocks">Blocks</span> <span class="label" i18n="mining.empty-blocks">Empty Blocks</span>
<div>{{ formatNumber(poolStats.emptyBlocks, this.locale, '1.0-0') }}</div> <div>{{ formatNumber(poolStats.emptyBlocks, this.locale, '1.0-0') }}</div>
</td> </td>
</tr> </tr>
@ -298,7 +298,7 @@
<!-- Empty blocks mobile --> <!-- Empty blocks mobile -->
<tr *ngIf="isMobile()"> <tr *ngIf="isMobile()">
<td colspan="2"> <td colspan="2">
<span class="label" i18n="mining.empty-blocks">Blocks</span> <span class="label" i18n="mining.empty-blocks">Empty Blocks</span>
<div> <div>
<div class="skeleton-loader"></div> <div class="skeleton-loader"></div>
</div> </div>