Search box text updated.

BTC ticker fix.
Dropdown color fix.
Miner button tooltip.
This commit is contained in:
softsimon
2020-05-10 16:03:22 +07:00
parent 5bb98c7c9b
commit a7690977ab
8 changed files with 23 additions and 11 deletions

View File

@@ -4,7 +4,7 @@
<ng-template #done>
<ng-template [ngIf]="miner" [ngIfElse]="unknownMiner">
<a [title]="title" [href]="url" target="_blank" class="badge badge-primary">{{ miner }}</a>
<a placement="bottom" [ngbTooltip]="title" [href]="url" target="_blank" class="badge badge-primary">{{ miner }}</a>
</ng-template>
<ng-template #unknownMiner>
<span class="badge badge-secondary">Unknown</span>

View File

@@ -47,7 +47,7 @@ export class MinerComponent implements OnChanges {
const coinbaseAscii = this.hex2ascii(this.coinbaseTransaction.vin[0].scriptsig);
if (coinbaseAscii.indexOf(tag) > -1) {
this.miner = pools.coinbase_tags[tag].name;
this.title = 'Identified by coinbase tag: ' + tag;
this.title = 'Identified by coinbase tag: \'' + tag + '\'';
this.url = pools.coinbase_tags[tag].link;
break;
}