include own notifications in ticker
This commit is contained in:
parent
8bc84d397d
commit
d14f5306e3
2 changed files with 12 additions and 2 deletions
|
|
@ -1,5 +1,15 @@
|
||||||
<span class="wallet-activity">
|
<span class="wallet-activity">
|
||||||
|
|
||||||
|
|
||||||
|
<div ng-if="x.types.indexOf('NewOutgoingTx')>=0">
|
||||||
|
<span>Payment Sent </span>
|
||||||
|
<div class="wallet-activity-amount">
|
||||||
|
{{x.amountStr}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div ng-if="x.types.indexOf('NewIncomingTx')>=0">
|
<div ng-if="x.types.indexOf('NewIncomingTx')>=0">
|
||||||
<span>Payment Received</span>
|
<span>Payment Received</span>
|
||||||
<div class="wallet-activity-amount">
|
<div class="wallet-activity-amount">
|
||||||
|
|
@ -39,4 +49,3 @@
|
||||||
<time class="wallet-activity-note-child">{{ x.createdOn * 1000 | amTimeAgo}}</time>
|
<time class="wallet-activity-note-child">{{ x.createdOn * 1000 | amTimeAgo}}</time>
|
||||||
</p>
|
</p>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,8 @@ angular.module('copayApp.controllers').controller('activityController',
|
||||||
lodash.each($scope.wallets, function(wallet) {
|
lodash.each($scope.wallets, function(wallet) {
|
||||||
|
|
||||||
walletService.getNotifications(wallet, {
|
walletService.getNotifications(wallet, {
|
||||||
timeSpan: timeSpan
|
includeOwn: true,
|
||||||
|
timeSpan: timeSpan,
|
||||||
}, function(err, n) {
|
}, function(err, n) {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log('[tab-home.js.35:err:]', $log.error(err)); //TODO
|
console.log('[tab-home.js.35:err:]', $log.error(err)); //TODO
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue