updating miner tag on tx page
This commit is contained in:
parent
852e2b2fa0
commit
d914df20ba
@ -676,9 +676,9 @@
|
|||||||
<td class="td-width" i18n="block.miner">Miner</td>
|
<td class="td-width" i18n="block.miner">Miner</td>
|
||||||
@if (pool) {
|
@if (pool) {
|
||||||
<td class="wrap-cell">
|
<td class="wrap-cell">
|
||||||
<a placement="bottom" [routerLink]="['/mining/pool' | relativeUrl, pool.slug]" class="badge mr-1"
|
<a placement="bottom" [routerLink]="['/mining/pool' | relativeUrl, pool.slug]" class="badge" style="color: #FFF;padding:0;">
|
||||||
[class]="pool.slug === 'unknown' ? 'badge-secondary' : 'badge-primary'">
|
<img class="pool-logo" [src]="'/resources/mining-pools/' + pool.slug + '.svg'" onError="this.src = '/resources/mining-pools/default.svg'" [alt]="'Logo of ' + pool.name + ' mining pool'">
|
||||||
{{ pool.name }}
|
{{ pool.name }}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
} @else {
|
} @else {
|
||||||
|
@ -325,3 +325,11 @@
|
|||||||
display: block;
|
display: block;
|
||||||
width: 2.7em;
|
width: 2.7em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pool-logo {
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
position: relative;
|
||||||
|
top: -1px;
|
||||||
|
margin-right: 2px;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user