Commit df4de0dc authored by dev0tion's avatar dev0tion

Open transaction details on card click

parent 7b08e634
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<h5 class="text-uppercase">Latest Transactions</h5> <h5 class="text-uppercase">Latest Transactions</h5>
<div *ngIf="transactions; else noTransactions"> <div *ngIf="transactions; else noTransactions">
<div *ngFor="let transaction of transactions; let i=index"> <div *ngFor="let transaction of transactions; let i=index">
<div class="card" *ngIf="i<3"> <div class="card" *ngIf="i<3" (click)="openTransactionDetailDialog(transaction)">
<div class="card-block text-nowrap"> <div class="card-block text-nowrap">
<ul class="list-inline row"> <ul class="list-inline row">
<li class="list-inline-item hidden-xs-down col text-uppercase align-bottom">{{ transaction.type }}</li> <li class="list-inline-item hidden-xs-down col text-uppercase align-bottom">{{ transaction.type }}</li>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<h5 class="text-uppercase">Transactions</h5> <h5 class="text-uppercase">Transactions</h5>
<div *ngIf="transactions; else noTransactions"> <div *ngIf="transactions; else noTransactions">
<div *ngFor="let transaction of transactions"> <div *ngFor="let transaction of transactions">
<div class="card"> <div class="card" (click)="openTransactionDetailDialog(transaction)">
<div class="card-block text-nowrap"> <div class="card-block text-nowrap">
<ul class="list-inline row"> <ul class="list-inline row">
<li class="list-inline-item hidden-xs-down col text-uppercase align-bottom">{{ transaction.type }}</li> <li class="list-inline-item hidden-xs-down col text-uppercase align-bottom">{{ transaction.type }}</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment