| 
									
										
										
										
											2024-06-06 18:26:43 +00:00
										 |  |  | @if (chartOnly) { | 
					
						
							|  |  |  |   <ng-container *ngTemplateOutlet="pieChart"></ng-container> | 
					
						
							|  |  |  | } @else { | 
					
						
							| 
									
										
										
										
											2024-05-26 20:38:28 +00:00
										 |  |  | <table> | 
					
						
							|  |  |  |   <tbody> | 
					
						
							|  |  |  |     <tr> | 
					
						
							| 
									
										
										
										
											2024-05-28 21:06:58 +00:00
										 |  |  |       <td class="td-width field-label" i18n="transaction.accelerated-to-feerate|Accelerated to feerate">Accelerated to</td> | 
					
						
							|  |  |  |       <td class="field-value"> | 
					
						
							| 
									
										
										
										
											2024-05-26 20:38:28 +00:00
										 |  |  |         <div class="effective-fee-container"> | 
					
						
							|  |  |  |           @if (accelerationInfo?.acceleratedFeeRate && (!tx.effectiveFeePerVsize || accelerationInfo.acceleratedFeeRate >= tx.effectiveFeePerVsize)) { | 
					
						
							|  |  |  |             <app-fee-rate [fee]="accelerationInfo.acceleratedFeeRate"></app-fee-rate> | 
					
						
							|  |  |  |           } @else { | 
					
						
							|  |  |  |             <app-fee-rate [fee]="tx.effectiveFeePerVsize"></app-fee-rate> | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |       </td> | 
					
						
							| 
									
										
										
										
											2024-05-28 21:06:58 +00:00
										 |  |  |       <td class="pie-chart" rowspan="2"> | 
					
						
							| 
									
										
										
										
											2024-06-06 18:26:43 +00:00
										 |  |  |         <ng-container *ngTemplateOutlet="pieChart"></ng-container> | 
					
						
							| 
									
										
										
										
											2024-05-26 20:38:28 +00:00
										 |  |  |       </td> | 
					
						
							|  |  |  |     </tr> | 
					
						
							|  |  |  |     <tr> | 
					
						
							| 
									
										
										
										
											2024-05-28 21:06:58 +00:00
										 |  |  |       <td class="td-width field-label" i18n="transaction.accelerated-by-hashrate|Accelerated to hashrate">Accelerated by</td> | 
					
						
							|  |  |  |       <td class="field-value" *ngIf="acceleratedByPercentage"> | 
					
						
							|  |  |  |         {{ acceleratedByPercentage }} <span class="symbol hashrate-label">of hashrate</span> | 
					
						
							| 
									
										
										
										
											2024-05-26 20:38:28 +00:00
										 |  |  |       </td> | 
					
						
							|  |  |  |     </tr> | 
					
						
							|  |  |  |   </tbody> | 
					
						
							| 
									
										
										
										
											2024-06-06 18:26:43 +00:00
										 |  |  | </table> | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <ng-template #pieChart> | 
					
						
							|  |  |  |   <div class="chart-container"> | 
					
						
							|  |  |  |     @if (chartOptions && miningStats) { | 
					
						
							|  |  |  |       <div | 
					
						
							|  |  |  |         echarts | 
					
						
							|  |  |  |         *browserOnly | 
					
						
							|  |  |  |         class="chart" | 
					
						
							|  |  |  |         [initOpts]="chartInitOptions" | 
					
						
							|  |  |  |         [options]="chartOptions" | 
					
						
							|  |  |  |         style="height: 72px; width: 72px;" | 
					
						
							|  |  |  |         (chartInit)="onChartInit($event)" | 
					
						
							|  |  |  |       ></div> | 
					
						
							|  |  |  |     } @else { | 
					
						
							|  |  |  |       <div class="chart-loading"> | 
					
						
							|  |  |  |         <div class="spinner-border text-light"></div> | 
					
						
							|  |  |  |       </div> | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  | </ng-template> |