Merge pull request #489 from matiu/feature/tx01

show blockhash in tx
This commit is contained in:
Gustavo Maximiliano Cortez 2014-05-26 10:15:21 -03:00
commit eefaf0ae6a
3 changed files with 8 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"name": "insight-bitcore",
"description": "An open-source frontend for the Insight API. The Insight API provides you with a convenient, powerful and simple way to query and broadcast data on the bitcoin network and build your own services with it.",
"version": "0.1.12",
"version": "0.2.1",
"author": {
"name": "Ryan X Charles",
"email": "ryan@bitpay.com"
@ -46,7 +46,7 @@
"start": "INSIGHT_PUBLIC_PATH=public node node_modules/.bin/insight-bitcore-api"
},
"dependencies": {
"insight-bitcore-api": "=0.1.12"
"insight-bitcore-api": "=0.2.1"
},
"devDependencies": {
"bower": "~1.2.8",

View File

@ -55,6 +55,11 @@
<td data-ng-show="tx.time" class="text-muted text-right">{{tx.time * 1000|date:'medium'}}</td>
<td data-ng-show="!tx.time" class="text-muted text-right">N/A</td>
</tr>
<tr>
<td><strong>Included in Block </strong></td>
<td data-ng-show="tx.blockhash" class="text-muted text-right"> <a class="text-muted" href="/block/{{tx.blockhash}}">{{tx.blockhash}}</a>
<td data-ng-show="!tx.blockhash" class="text-muted text-right">Unconfirmed</td>
</tr>
<tr data-ng-show="tx.locktime">
<td><strong>LockTime </strong></td>
<td class="text-muted text-right">{{tx.locktime}}</td>

View File

@ -178,7 +178,7 @@
</div>
<div class="well well-sm bgwhite ellipsis" data-ng-if="itemsExpanded && !block.hash">
<strong>BlockHash</strong> <a class="text-muted" href="/block/{{tx.blockhash}}">{{tx.blockhash}}</a>
<strong>Included in Block</strong> <a class="text-muted" href="/block/{{tx.blockhash}}">{{tx.blockhash}}</a>
<span class="btn-copy" clip-copy="tx.blockhash"></span>
</div>