removed default language ISO code below Copay logo

This commit is contained in:
Gustavo Maximiliano Cortez 2014-09-16 17:53:32 -03:00
parent 0acf0dac67
commit 9f821dcf19
2 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,6 @@ angular.module('copayApp.controllers').controller('VersionController',
$scope.version = copay.version;
$scope.commitHash = copay.commitHash;
$scope.networkName = w ? w.getNetworkName() : '';
$scope.defaultLanguage = config.defaultLanguage;
if (_.isUndefined($rootScope.checkVersion))
$rootScope.checkVersion = true;
@ -20,7 +19,7 @@ angular.module('copayApp.controllers').controller('VersionController',
};
var latestVersion = data[0].name.replace('v', '').split('.').map(toInt);
var currentVersion = copay.version.split('.').map(toInt);
var title = 'Copay ' + data[0].name + $filter('translate')(' available.');
var title = 'Copay ' + data[0].name + ' ' + $filter('translate')('available.');
var content;
if (currentVersion[0] < latestVersion[0]) {
content = 'It\'s important that you update your wallet at https://copay.io';

View File

@ -1,5 +1,5 @@
<div ng-controller="VersionController">
<small>v{{version}} ({{defaultLanguage}})</small>
<small>v{{version}}</small>
<small>#{{commitHash}}</small>
<small ng-if="networkName ==='testnet' || networkName ==='livenet'">[ {{networkName}} ]</small>
</div>