Skip to content
Snippets Groups Projects
Commit 23ab5435 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Fix UD history on an account

parent da1f2737
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
<div class="row no-padding">
<div class="col no-padding">
<b class="ion-clock" ng-if="pending"> </b>
<b class="ion-clock" ng-if="::pending"> </b>
<a class="" ui-sref="app.wot_identity({pubkey:tx.pubkey, uid:tx.uid})" ng-if="tx.uid">
{{::tx.name||tx.uid}}
</a>
......@@ -21,9 +21,12 @@
{{::tx.comment}}<br/>
</p>
<h4>
<a class="gray underline" ui-sref="app.view_block({number: tx.block_number})">
<a ng-if="::!pending" class="gray underline" ui-sref="app.view_block({number: tx.block_number})">
{{::tx.time | formatFromNow}} | {{::tx.time | formatDate}}
</a>
<span ng-if="::pending" class="gray">
{{::tx.time | formatFromNow}} | {{::tx.time | formatDate}}
</span>
</h4>
</div>
<div class="col col-50 no-padding" ng-if="::tx.comment">
......
......@@ -97,7 +97,7 @@
<div ng-repeat="tx in formData.tx.history"
class="item item-tx item-icon-left"
ng-include="!tx.isUD ? 'templates/wallet/item_tx.html' : 'templates/wallet/item_ud.html'">
ng-include="::!tx.isUD ? 'templates/wallet/item_tx.html' : 'templates/wallet/item_ud.html'">
</div>
<div class="item item-text-wrap text-center" ng-if="formData.tx.fromTime > 0">
<p>
......
......@@ -52,9 +52,9 @@
</span>
<!-- iterate on each TX -->
<div class="item item-tx item-icon-left"
ng-repeat="tx in formData.tx.history"
ng-include="'templates/wallet/item_tx.html'">
<div ng-repeat="tx in formData.tx.history"
class="item item-tx item-icon-left"
ng-include="::!tx.isUD ? 'templates/wallet/item_tx.html' : 'templates/wallet/item_ud.html'">
</div>
<div class="item item-text-wrap text-center" ng-if="formData.tx.fromTime > 0">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment