commit
6985d21233
11 changed files with 66 additions and 26 deletions
10
js/app.js
10
js/app.js
|
|
@ -23,6 +23,7 @@ var modules = [
|
|||
'monospaced.qrcode',
|
||||
'ngIdle',
|
||||
'gettext',
|
||||
'ui.gravatar',
|
||||
'copayApp.filters',
|
||||
'copayApp.services',
|
||||
'copayApp.controllers',
|
||||
|
|
@ -44,6 +45,15 @@ copayApp.config(function($sceDelegateProvider) {
|
|||
]);
|
||||
});
|
||||
|
||||
angular.module('ui.gravatar').config([
|
||||
'gravatarServiceProvider', function(gravatarServiceProvider) {
|
||||
gravatarServiceProvider.defaults = {
|
||||
size : 35
|
||||
};
|
||||
// Use https endpoint
|
||||
gravatarServiceProvider.secure = true;
|
||||
}
|
||||
]);
|
||||
|
||||
angular.module('copayApp.filters', []);
|
||||
angular.module('copayApp.services', []);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
'use strict';
|
||||
angular.module('copayApp.controllers').controller('ProfileController', function($scope, $rootScope, $location, $modal, controllerUtils, backupService) {
|
||||
$scope.username = $rootScope.iden.getName();
|
||||
$scope.isSafari = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0;
|
||||
|
||||
$rootScope.title = 'Profile';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue