showing if testnet network on front page added

pull/3/head
moneroexamples 7 years ago
parent e52f4a0489
commit b51b57836c

@ -102,7 +102,7 @@
<div class="w-icon-nav-menu"></div>
</div>
<a class="w-nav-brand brand-box" ng-href="{{loggedIn() ? '#/overview' : '#/'}}">
<span style="font-size: 32px; font-weight: bold;">OPEN MONERO</span>
<span style="font-size: 32px; font-weight: bold;">OPEN MONERO</span> <span style="color:white" ng-hide="testnet == false"><br/>testnet monero network</span>
</a>
</div>
</div>

@ -1,6 +1,6 @@
var config = {
apiUrl: "http://127.0.0.1:1984/",
testnet: true,
testnet: false,
coinUnitPlaces: 12,
txMinConfirms: 10,
coinSymbol: 'XMR',

@ -40,6 +40,8 @@ thinwalletCtrls.controller('AccountCtrl', function($scope, $rootScope, $http, $q
$scope.spend_key = AccountService.getSpendKey();
$scope.mnemonic = AccountService.getMnemonic();
$scope.testnet = config.testnet;
$scope.transactions = [];
$scope.blockchain_height = 0;

Loading…
Cancel
Save