fix About
This commit is contained in:
parent
73ac243ce0
commit
0ed46f1f65
2 changed files with 7 additions and 4 deletions
|
|
@ -14,14 +14,14 @@
|
|||
<i class="icon ion-ios-film-outline"></i>
|
||||
<span translate>Version</span>
|
||||
<span class="item-note">
|
||||
v{{v.version}}
|
||||
v{{version}}
|
||||
</span>
|
||||
</div>
|
||||
<div class="item item-icon-left" ng-click="$root.openExternalLink('https://github.com/bitpay/copay/tree/'+v.commitHash)">
|
||||
<div class="item item-icon-left" ng-click="$root.openExternalLink('https://github.com/bitpay/copay/tree/'+commitHash)">
|
||||
<i class="icon ion-ios-film-outline"></i>
|
||||
<span translate>Commit hash</span>
|
||||
<span class="item-note">
|
||||
#{{v.commitHash}}
|
||||
#{{commitHash}}
|
||||
</span>
|
||||
</div>
|
||||
<div class="item item-divider">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesAbout',
|
||||
function($ionicNavBarDelegate, gettextCatalog) {
|
||||
function($scope, $version, $ionicNavBarDelegate, gettextCatalog) {
|
||||
$ionicNavBarDelegate.title(gettextCatalog.getString('About Copay'));
|
||||
|
||||
$scope.version = $window.version;
|
||||
$scope.commit = $window.commitHash;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue