Ineligible transaction link to accelerator FAQ
This commit is contained in:
		
							parent
							
								
									c874d642c5
								
							
						
					
					
						commit
						eab008c707
					
				| @ -551,23 +551,23 @@ | ||||
|         <td class="td-width align-items-center align-middle" i18n="transaction.eta|Transaction ETA">ETA</td> | ||||
|         <td> | ||||
|           <ng-container *ngIf="(ETA$ | async) as eta; else etaSkeleton"> | ||||
|             @if (eta.blocks >= 7) { | ||||
|               <span [class]="(!tx?.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !showAccelerationSummary && eligibleForAcceleration) ? 'etaDeepMempool justify-content-end align-items-center' : ''"> | ||||
|                 <span i18n="transaction.eta.not-any-time-soon|Transaction ETA mot any time soon">Not any time soon</span> | ||||
|                 @if (!tx?.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !showAccelerationSummary && eligibleForAcceleration) { | ||||
|                   <a class="btn btn-sm accelerateDeepMempool btn-small-height float-right" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a> | ||||
|                 } | ||||
|               </span> | ||||
|             } @else if (network === 'liquid' || network === 'liquidtestnet') { | ||||
|             @if (network === 'liquid' || network === 'liquidtestnet') { | ||||
|               <app-time kind="until" [time]="eta.time" [fastRender]="false" [fixedRender]="true"></app-time> | ||||
|             } @else { | ||||
|               <span [class]="(!tx?.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !showAccelerationSummary && eligibleForAcceleration) ? 'etaDeepMempool justify-content-end align-items-center' : ''"> | ||||
|               <span [class]="(!tx?.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !showAccelerationSummary) ? 'etaDeepMempool d-flex justify-content-between' : ''"> | ||||
|                 @if (eta.blocks >= 7) { | ||||
|                   <span i18n="transaction.eta.not-any-time-soon|Transaction ETA mot any time soon">Not any time soon</span> | ||||
|                 } @else { | ||||
|                   <app-time kind="until" [time]="eta.time" [fastRender]="false" [fixedRender]="true"></app-time> | ||||
|                 @if (!tx?.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !showAccelerationSummary && eligibleForAcceleration) { | ||||
|                   <a class="btn btn-sm accelerateDeepMempool btn-small-height float-right" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a> | ||||
|                 } | ||||
|               </span> | ||||
|               <span class="eta justify-content-end"> | ||||
|                 @if (!tx?.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !showAccelerationSummary) { | ||||
|                   <div class="d-flex accelerate"> | ||||
|                     <a class="btn btn-sm accelerateDeepMempool btn-small-height" [class.disabled]="!eligibleForAcceleration" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a> | ||||
|                     <a *ngIf="!eligibleForAcceleration" href="https://mempool.space/accelerator#why-cant-accelerate" target="_blank" class="info-badges ml-1" i18n-ngbTooltip="Mempool Accelerator™ tooltip" ngbTooltip="This transaction cannot be accelerated"> | ||||
|                         <fa-icon [icon]="['fas', 'info-circle']" [fixedWidth]="true"></fa-icon> | ||||
|                     </a> | ||||
|                   </div> | ||||
|                 } | ||||
|               </span> | ||||
|             } | ||||
|           </ng-container> | ||||
|  | ||||
| @ -287,38 +287,22 @@ | ||||
| } | ||||
| 
 | ||||
| .accelerate { | ||||
|   display: flex !important; | ||||
|   align-self: auto; | ||||
|   @media (min-width: 850px) { | ||||
|     margin-left: auto; | ||||
|   background-color: var(--tertiary); | ||||
|   @media (max-width: 849px) { | ||||
|     margin-left: 5px; | ||||
|   }   | ||||
| } | ||||
| 
 | ||||
| .etaDeepMempool { | ||||
|   justify-content: flex-end; | ||||
|   flex-wrap: wrap; | ||||
|   align-content: center; | ||||
|   @media (max-width: 995px) { | ||||
|     justify-content: left !important; | ||||
|   } | ||||
|   @media (max-width: 849px) { | ||||
|     justify-content: right !important; | ||||
|   } | ||||
| } | ||||
| 
 | ||||
| .accelerateDeepMempool { | ||||
|   align-self: auto; | ||||
|   margin-left: auto; | ||||
|   background-color: var(--tertiary); | ||||
|   @media (max-width: 995px) { | ||||
|     margin-left: 0px; | ||||
|   } | ||||
|   @media (max-width: 849px) { | ||||
|   margin-left: 5px; | ||||
| } | ||||
| } | ||||
| 
 | ||||
| .goggles-icon { | ||||
|   display: block; | ||||
| @ -336,3 +320,8 @@ | ||||
| .oobFees { | ||||
|   color: #905cf4; | ||||
| } | ||||
| 
 | ||||
| .disabled { | ||||
|   opacity: 0.5; | ||||
|   pointer-events: none; | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user