[tx] fix css when accel not available
This commit is contained in:
		
							parent
							
								
									a3d61fa525
								
							
						
					
					
						commit
						5f4add3e22
					
				| @ -6,7 +6,7 @@ | |||||||
|       <app-truncate [text]="rbfTransaction.txid" [lastChars]="12" [link]="['/tx/' | relativeUrl, rbfTransaction.txid]"></app-truncate> |       <app-truncate [text]="rbfTransaction.txid" [lastChars]="12" [link]="['/tx/' | relativeUrl, rbfTransaction.txid]"></app-truncate> | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|     <div *ngIf="acceleratorAvailable && accelerateCtaType === 'alert' && !tx?.status?.confirmed && !tx.acceleration" class="alert alert-mempool alert-dismissible" role="alert"> |     <div *ngIf="acceleratorAvailable && accelerateCtaType === 'alert' && !tx?.status?.confirmed && !tx?.acceleration" class="alert alert-mempool alert-dismissible" role="alert"> | ||||||
|       <span><a class="link accelerator" (click)="onAccelerateClicked()">Accelerate</a> this transaction using the Mempool Accelerator ™</span> |       <span><a class="link accelerator" (click)="onAccelerateClicked()">Accelerate</a> this transaction using the Mempool Accelerator ™</span> | ||||||
|       <button type="button" class="close" aria-label="Close" (click)="dismissAccelAlert()"> |       <button type="button" class="close" aria-label="Close" (click)="dismissAccelAlert()"> | ||||||
|         <span aria-hidden="true">×</span> |         <span aria-hidden="true">×</span> | ||||||
| @ -116,9 +116,9 @@ | |||||||
|                     </ng-template> |                     </ng-template> | ||||||
|                     <ng-template #estimationTmpl> |                     <ng-template #estimationTmpl> | ||||||
|                       <ng-template [ngIf]="this.mempoolPosition.block >= 7" [ngIfElse]="belowBlockLimit"> |                       <ng-template [ngIf]="this.mempoolPosition.block >= 7" [ngIfElse]="belowBlockLimit"> | ||||||
|                         <span class="etaDeepMempool" [class]="acceleratorAvailable ? 'd-flex justify-content-end align-items-center' : ''"> |                         <span [class]="(acceleratorAvailable && accelerateCtaType === 'button') ? 'etaDeepMempool d-flex justify-content-end align-items-center' : ''"> | ||||||
|                           <span i18n="transaction.eta.in-several-hours|Transaction ETA in several hours or more">In several hours (or more)</span> |                           <span i18n="transaction.eta.in-several-hours|Transaction ETA in several hours or more">In several hours (or more)</span> | ||||||
|                           <a *ngIf="acceleratorAvailable && accelerateCtaType === 'button' && !tx.acceleration" [href]="'/services/accelerator/accelerate?txid=' + tx.txid" class="btn btn-sm accelerateDeepMempool" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a> |                           <a *ngIf="acceleratorAvailable && accelerateCtaType === 'button' && !tx?.acceleration" [href]="'/services/accelerator/accelerate?txid=' + tx.txid" class="btn btn-sm accelerateDeepMempool" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a> | ||||||
|                         </span> |                         </span> | ||||||
|                       </ng-template> |                       </ng-template> | ||||||
|                       <ng-template #belowBlockLimit> |                       <ng-template #belowBlockLimit> | ||||||
| @ -128,7 +128,7 @@ | |||||||
|                         <ng-template #timeEstimateDefault> |                         <ng-template #timeEstimateDefault> | ||||||
|                           <span class="eta" [class]="acceleratorAvailable ? 'd-flex justify-content-end align-items-center' : ''"> |                           <span class="eta" [class]="acceleratorAvailable ? 'd-flex justify-content-end align-items-center' : ''"> | ||||||
|                             <app-time kind="until" *ngIf="(da$ | async) as da;" [time]="da.timeAvg * (this.mempoolPosition.block + 1) + now + da.timeOffset" [fastRender]="false" [fixedRender]="true"></app-time> |                             <app-time kind="until" *ngIf="(da$ | async) as da;" [time]="da.timeAvg * (this.mempoolPosition.block + 1) + now + da.timeOffset" [fastRender]="false" [fixedRender]="true"></app-time> | ||||||
|                             <a *ngIf="acceleratorAvailable && accelerateCtaType === 'button' && !tx.acceleration" [href]="'/services/accelerator/accelerate?txid=' + tx.txid" class="btn btn-sm accelerate" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a> |                             <a *ngIf="acceleratorAvailable && accelerateCtaType === 'button' && !tx?.acceleration" [href]="'/services/accelerator/accelerate?txid=' + tx.txid" class="btn btn-sm accelerate" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a> | ||||||
|                           </span> |                           </span> | ||||||
|                         </ng-template> |                         </ng-template> | ||||||
|                       </ng-template> |                       </ng-template> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user