tx-details

This commit is contained in:
Bechi 2014-04-21 13:23:39 -03:00
commit f0a4dd6cf6
2 changed files with 26 additions and 10 deletions

View file

@ -263,18 +263,26 @@
<tbody>
<tr ng-repeat="o in tx.outs">
<td class="text-right size-24">{{o.value}} <i class="fi-bitcoin"></i></td>
<td class="text-center size-48"> <i class="fi-arrow-right size-40">
<td class="text-center size-48"> <i class="fi-arrow-right size-40"> </i>
<td class="text-left size-24">{{o.address}}</td>
</tr>
<tr ng-repeat="(peer, actions) in tx.peerActions">
<td colspan="3" >
<span ng-if="peer == $root.wallet.network.peerId"> You</span>
<span ng-if="peer != $root.wallet.network.peerId"> {{peer}}</span>
:
<span ng-repeat="(action, ts) in actions">
<a title="{{ts | date:'medium'}}"> {{action}}</a>
</span>
</tr>
<td colspan="3">
<div class="panel status">
<span ng-if="peer == $root.wallet.network.peerId"> You
</span>
<span ng-if="peer != $root.wallet.network.peerId"> {{peer}}</span>
<span ng-repeat="(action, ts) in actions">
<span ng-if="action == 'create'" title="{{ts | date:'medium'}}" class="fi-page-add size-18 right m10h"></span>
<span ng-if="action == 'seen'" title="{{ts | date:'medium'}}" class="fi-eye size-18 right m10h"> </span>
<span ng-if="action == 'sign'" title="{{ts | date:'medium'}}" class="fi-check size-18 right m10h"> </span>
<a title="{{ts | date:'medium'}}"></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>