UNPKG

copay-crown

Version:

A Secure Crown Wallet

56 lines (44 loc) 1.74 kB
<button ion-item> <ion-icon class="wallet-icon-container" item-start> <div class="icon-color" [ngClass]="{'wallet-color-default': !notification.wallet.color}" [ngStyle]="{'background-color':notification.wallet.color}"></div> </ion-icon> <div *ngIf="notification.type == 'NewCopayer' && notification.wallet.n>1"> <span translate>Copayer joined</span> </div> <div *ngIf="notification.type == 'NewCopayer' && notification.wallet.n==1"> <span translate>Wallet created</span> </div> <div *ngIf="notification.type == 'NewOutgoingTx'"> <span translate>Payment Sent</span> </div> <div *ngIf="notification.type == 'NewIncomingTx'"> <span translate>Payment Received</span> </div> <div *ngIf="notification.type == 'TxProposalRemoved'"> <span translate>Proposal Deleted</span>: <b>{{notification.message}}</b> </div> <div *ngIf="notification.type == 'TxProposalRejectedBy'"> <span translate>Proposal Rejected</span>: <b>{{notification.message}}</b> </div> <div *ngIf="notification.type == 'NewTxProposal'"> <span translate>New Proposal</span>: <b>{{notification.message}}</b> </div> <div *ngIf="notification.type == 'TxProposalAcceptedBy'"> <span translate>Proposal Accepted</span>: <b>{{notification.message}}</b> </div> <div class="copayer"> <span *ngIf="notification.creatorName">{{ notification.creatorName}}@</span> <span>{{notification.wallet.name}}</span> </div> <ion-note item-end> <!-- {{notification.types}} --> <div class="amount"> {{notification.data.amount | satToUnit: notification.wallet.coin}} </div> <time class="date">{{ notification.createdOn * 1000 | amTimeAgo}}</time> </ion-note> </button>