Skip to content
Permalink
Browse files

update token page

  • Loading branch information...
elaineo committed Mar 28, 2017
1 parent 70892f6 commit b46250173b5ff5ad5cd826862b3d3a89f61136bc
Showing with 4 additions and 2 deletions.
  1. +2 −0 public/js/controllers/TokenController.js
  2. +2 −2 public/views/token.html
@@ -22,6 +22,8 @@ angular.module('BlocksApp').controller('TokenController', function($stateParams,
$scope.token = data;
$scope.token.address = address;
$scope.addr = {"bytecode": data.bytecode};
if (data.name)
$rootScope.$state.current.data["pageTitle"] = data.name;
});

$scope.form = {};
@@ -71,7 +71,7 @@
</ul>
<div class="tab-content">
<div class="tab-pane" ng-class="{active: activeTab == 'tab_token_1' || !activeTab}" id="tab_token_1">
<h4>Get {{ token.name }} Token Balance</h4>
<h4>Get {{ token.name }} <span ng-show="!token.name">Token</span> Balance</h4>
<div class="row"><!-- get my balance -->
<form class="col-md-10 center" name="form.tokens">
<span class="help-block"><b>Enter Your Address </b></span>
@@ -86,7 +86,7 @@ <h4>Get {{ token.name }} Token Balance</h4>
</div><!--end row-->
<div class="row" ng-show="showTokens"><!-- balance results -->
<div class="col-md-10">
<h4>You have <span class="eth-stat-title font-blue-madison">0{{userTokens | number}}</span> {{ token.name }} tokens.</h4>
<h4>You have <span class="eth-stat-title font-blue-madison">0{{userTokens | number}}</span> {{ token.symbol }} tokens.</h4>
</div>
</div>
</div><!-- end get Token Balance Tab -->

0 comments on commit b462501

Please sign in to comment.
You can’t perform that action at this time.