mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
[graph] move acceleration and price into "More" graph section
This commit is contained in:
parent
31431d3a11
commit
8d395c46da
2 changed files with 14 additions and 11 deletions
|
|
@ -45,17 +45,20 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div ngbDropdown class="w-33" *ngIf="stateService.env.ACCELERATOR && isMainnet">
|
||||
<button class="btn btn-primary w-100" id="dropdownBasic1" ngbDropdownToggle i18n="accelerator.accelerations">Accelerations</button>
|
||||
<div ngbDropdownMenu aria-labelledby="dropdownBasic1">
|
||||
<a class="dropdown-item" routerLinkActive="active" [routerLink]="['/graphs/acceleration/fees' | relativeUrl]"
|
||||
i18n="accelerator.acceleration-fees">Acceleration Fees</a>
|
||||
@if (isMainnet) {
|
||||
<div ngbDropdown class="w-33">
|
||||
<button class="btn btn-primary w-100" id="dropdownBasic1" ngbDropdownToggle i18n="more">More</button>
|
||||
<div ngbDropdownMenu aria-labelledby="dropdownBasic1">
|
||||
@if (stateService.env.ACCELERATOR) {
|
||||
<a class="dropdown-item" routerLinkActive="active" [routerLink]="['/graphs/acceleration/fees' | relativeUrl]"
|
||||
i18n="accelerator.acceleration-fees">Acceleration Fees</a>
|
||||
}
|
||||
@if (stateService.env.HISTORICAL_PRICE) {
|
||||
<a class="dropdown-item" routerLinkActive="active" [routerLink]="['/graphs/price' | relativeUrl]"
|
||||
i18n="price">Price</a>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if (stateService.env.HISTORICAL_PRICE && isMainnet) {
|
||||
<a routerLinkActive="active" class="btn btn-primary w-33"
|
||||
[routerLink]="['/graphs/price' | relativeUrl]" i18n="price">Price</a>
|
||||
}
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ const routes: Routes = [
|
|||
},
|
||||
{
|
||||
path: 'price',
|
||||
data: { networks: ['bitcoin'] },
|
||||
data: { networks: ['bitcoin'], networkSpecific: true, onlySubnet: [''] },
|
||||
component: PriceChartComponent,
|
||||
},
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue