Merge pull request #3064 from greggzigler/bug/receivedHistoryAmount

txhistory of received payments show non-receiver outputs
This commit is contained in:
Gustavo Maximiliano Cortez 2015-08-10 10:48:07 -03:00
commit 77abe774ac
2 changed files with 18 additions and 7 deletions

View file

@ -29,13 +29,21 @@
<h4 class="title m0" translate>Details</h4>
<ul class="no-bullet size-14 m0">
<div ng-if="!btx.showSingle"
ng-repeat="output in [ btx.outputs.summary ]"
ng-include="'views/includes/output.html'">
<div ng-if="btx.action == 'received'">
<li class="line-b p10 oh" ng-if="btx.message">
<span class="text-gray" translate>Note</span>:
<span class="right">{{btx.message}}</span>
</li>
</div>
<div ng-if="!btx.showSingle && btx.outputs.summary.showDetails"
ng-repeat="output in btx.outputs.details"
ng-include="'views/includes/output.html'">
<div ng-if="btx.action != 'received'">
<div ng-if="!btx.showSingle"
ng-repeat="output in [ btx.outputs.summary ]"
ng-include="'views/includes/output.html'">
</div>
<div ng-if="!btx.showSingle && btx.outputs.summary.showDetails"
ng-repeat="output in btx.outputs.details"
ng-include="'views/includes/output.html'">
</div>
</div>
<li ng-if="btx.showSingle && btx.addressTo && btx.addressTo != 'N/A'" class="line-b p10 oh" ng-click="copyAddress(btx.addressTo)">
<span class="text-gray" translate>To</span>: