-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: retry transfer in activity log
- Loading branch information
1 parent
68a0755
commit 7f63ca0
Showing
10 changed files
with
143 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/project-payment/components/retry-transfers-dialog/retry-transfers-dialog.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
...gistration-activity-log/components/table-cell-overview/table-cell-overview.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<div class="flex w-full content-between items-center"> | ||
@if (!!overview()) { | ||
<span class="max-w-96 truncate text-ellipsis">{{ overview() }}</span> | ||
} | ||
|
||
<div | ||
class="me-auto" | ||
[ngClass]="{ | ||
'ms-2': !!overview(), | ||
}" | ||
> | ||
@if (chipData()) { | ||
<app-colored-chip | ||
[label]="chipData()!.chipLabel" | ||
[variant]="chipData()!.chipVariant" | ||
/> | ||
} | ||
|
||
@if (canRetryTransfer()) { | ||
<p-button | ||
[ngClass]="{ | ||
'ms-1': !!chipData(), | ||
}" | ||
label="Retry transfer" | ||
i18n-label="@@retry-transfer" | ||
rounded | ||
size="small" | ||
(click)="retryTransfer()" | ||
/> | ||
} | ||
</div> | ||
|
||
@let dialogData = voucherDialogData(); | ||
@if (dialogData) { | ||
<app-activity-log-voucher-dialog | ||
[projectId]="dialogData.projectId" | ||
[paymentId]="dialogData.paymentId" | ||
[totalTransfers]="dialogData.totalTransfers" | ||
[voucherReferenceId]="dialogData.voucherReferenceId" | ||
/> | ||
} | ||
</div> | ||
|
||
@let payment = paymentId(); | ||
@if (payment) { | ||
<app-retry-transfers-dialog | ||
#retryTransfersDialog | ||
[projectId]="context().projectId()" | ||
[paymentId]="payment" | ||
/> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters