2015-04-25 12:37:04 -03:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
angular.module('copayApp.controllers').controller('preferencesAbout',
|
2016-09-26 14:31:36 -03:00
|
|
|
function($scope, $window, gettextCatalog, externalLinkService) {
|
2016-09-02 14:04:19 -03:00
|
|
|
|
2016-09-26 14:31:36 -03:00
|
|
|
$scope.title = gettextCatalog.getString('About') + ' ' + $window.appConfig.nameCase;
|
2016-09-02 14:04:19 -03:00
|
|
|
$scope.version = $window.version;
|
2016-09-02 14:17:47 -03:00
|
|
|
$scope.commitHash = $window.commitHash;
|
2016-09-05 14:59:11 -03:00
|
|
|
$scope.name = $window.appConfig.gitHubRepoName;
|
|
|
|
|
|
2016-10-12 15:29:06 -04:00
|
|
|
$scope.openExternalLink = function(url, optIn, title, message, okText, cancelText) {
|
|
|
|
|
externalLinkService.open(url, optIn, title, message, okText, cancelText);
|
2016-09-05 14:59:11 -03:00
|
|
|
};
|
2016-08-29 16:48:15 -03:00
|
|
|
});
|