Skip to content

Commit

Permalink
fix(history): couldn't copy addresses in the transaction table
Browse files Browse the repository at this point in the history
  • Loading branch information
beregovoy68 committed Nov 25, 2016
1 parent 2f81a5f commit b90d042
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -661,8 +661,10 @@ <h2 class="sectionHeader">LATEST TRANSACTIONS</h2>
<tr ng-repeat="tx in history.unconfirmed | orderBy:'timestamp':true | limitTo:10 | transaction track by tx.timestamp" class="wavesTable-txUnc" ng-class="{'wavesTable-txIn': !tx.formatted.isOutgoing, 'wavesTable-txOut': tx.formatted.isOutgoing}">
<td>{{tx.formatted.datetime}}</td>
<td>{{tx.formatted.type}}</td>
<td>{{tx.formatted.sender}}</td>
<td>{{tx.formatted.recipient}}</td>
<td ng-if="!tx.formatted.isSenderCopiable">{{tx.formatted.sender}}</td>
<td ng-if="tx.formatted.isSenderCopiable"><span class="clipSpan" tooltipster tooltip-theme="tooltipster-theme1" ngclipboard data-clipboard-text="{{tx.formatted.sender}}" title="Copy this address to the clipboard." ngclipboard-success="clipboardOk()">{{tx.formatted.sender}}</span></td>
<td ng-if="!tx.formatted.isRecipientCopiable">{{tx.formatted.recipient}}</td>
<td ng-if="tx.formatted.isRecipientCopiable"><span class="clipSpan" tooltipster tooltip-theme="tooltipster-theme1" ngclipboard data-clipboard-text="{{tx.formatted.recipient}}" title="Copy this address to the clipboard." ngclipboard-success="clipboardOk()">{{tx.formatted.recipient}}</span></td>
<td>{{tx.formatted.fee}}</td>
<td>{{tx.formatted.amount}}</td>
</tr>
Expand All @@ -671,8 +673,10 @@ <h2 class="sectionHeader">LATEST TRANSACTIONS</h2>
<tr ng-repeat="tx in history.confirmed | orderBy:'timestamp':true | limitTo:10 | transaction track by tx.timestamp" ng-class="{'wavesTable-txIn': !tx.formatted.isOutgoing, 'wavesTable-txOut': tx.formatted.isOutgoing}">
<td>{{tx.formatted.datetime}}</td>
<td>{{tx.formatted.type}}</td>
<td>{{tx.formatted.sender}}</td>
<td>{{tx.formatted.recipient}}</td>
<td ng-if="!tx.formatted.isSenderCopiable">{{tx.formatted.sender}}</td>
<td ng-if="tx.formatted.isSenderCopiable"><span class="clipSpan" tooltipster tooltip-theme="tooltipster-theme1" ngclipboard data-clipboard-text="{{tx.formatted.sender}}" title="Copy this address to the clipboard." ngclipboard-success="clipboardOk()">{{tx.formatted.sender}}</span></td>
<td ng-if="!tx.formatted.isRecipientCopiable">{{tx.formatted.recipient}}</td>
<td ng-if="tx.formatted.isRecipientCopiable"><span class="clipSpan" tooltipster tooltip-theme="tooltipster-theme1" ngclipboard data-clipboard-text="{{tx.formatted.recipient}}" title="Copy this address to the clipboard." ngclipboard-success="clipboardOk()">{{tx.formatted.recipient}}</span></td>
<td>{{tx.formatted.fee}}</td>
<td>{{tx.formatted.amount}}</td>
</tr>
Expand Down Expand Up @@ -787,15 +791,13 @@ <h2>LATEST BLOCKS INFORMATION</h2>
<td>GENERATOR</td>
</tr>
</thead>
<tbody id="latestBlocksUnconfirmed">
<tbody id="latestBlocksTable">
<tr class="fade">
<td>{{community.candidate.block}}</td>
<td><i>incoming</i></td>
<td>{{community.candidate.size}}</td>
<td><i>unconfirmed</i></td>
</tr>
</tbody>
<tbody id="latestBlocksTable">
<tr class="fade" ng-repeat="block in community.blocks | orderBy:'timestamp':true">
<td>{{block.height}}</td>
<td>{{block.timestamp | formatting}}</td>
Expand Down

0 comments on commit b90d042

Please sign in to comment.