From 4eae2d2ff566b210d46c8b38400e7380e21bdac2 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 13 Nov 2014 00:07:33 -0300 Subject: [PATCH] fix gravatar on profile. fix layout --- js/controllers/profile.js | 1 + views/profile.html | 52 +++++++++++++++++++++------------------ 2 files changed, 29 insertions(+), 24 deletions(-) diff --git a/js/controllers/profile.js b/js/controllers/profile.js index 8794d809a..1d5280968 100644 --- a/js/controllers/profile.js +++ b/js/controllers/profile.js @@ -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'; diff --git a/views/profile.html b/views/profile.html index 8dad247f0..248ce524d 100644 --- a/views/profile.html +++ b/views/profile.html @@ -3,31 +3,35 @@
-
- -
-

Backup Profile

-

It's important to backup your profile so that you can recover it in case of disaster. The backup will include all your profile's wallets

-
- -
- -
- Copy to clipboard +
+
+ -
- Copy this text as it is in a safe place (notepad or email) +
+

Backup Profile

+

It's important to backup your profile so that you can recover it in case of disaster. The backup will include all your profile's wallets

+
+ +
+
+
+ +
+ Copy to clipboard +
+
+ Copy this text as it is in a safe place (notepad or email) +