1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-29 07:59:42 +01:00

show bitcoin icon on transaction listing

This commit is contained in:
Kyle Spearrin 2019-02-22 12:47:04 -05:00
parent 2089237d23
commit ec3e438c99

View File

@ -101,13 +101,16 @@
</td> </td>
<td> <td>
<i class="fa fa-fw" *ngIf="t.type === transactionType.Charge || t.type === transactionType.Refund" <i class="fa fa-fw" *ngIf="t.type === transactionType.Charge || t.type === transactionType.Refund"
[ngClass]="{'fa-credit-card': t.paymentMethodType === paymentMethodType.Card, [ngClass]="{
'fa-university': t.paymentMethodType === paymentMethodType.BankAccount, 'fa-credit-card': t.paymentMethodType === paymentMethodType.Card,
'fa-paypal text-primary': t.paymentMethodType === paymentMethodType.PayPal}"></i> 'fa-university': t.paymentMethodType === paymentMethodType.BankAccount,
'fa-bitcoin text-warning': t.paymentMethodType === paymentMethodType.BitPay,
'fa-paypal text-primary': t.paymentMethodType === paymentMethodType.PayPal
}"></i>
{{t.details}} {{t.details}}
</td> </td>
<td [ngClass]="{'text-strike': t.refunded}" title="{{(t.refunded ? 'refunded' : '') | i18n}}">{{t.amount <td [ngClass]="{'text-strike': t.refunded}" title="{{(t.refunded ? 'refunded' : '') | i18n}}">
| currency:'$'}}</td> {{t.amount | currency:'$'}}</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>