added resend button

This commit is contained in:
Ivan Socolsky 2014-12-18 09:37:07 -03:00
parent aa8d6f4754
commit 173e5f2b12
3 changed files with 10 additions and 1 deletions

View File

@ -58,6 +58,7 @@
<strong class="size-16">Email not confirmed</strong>.<br>
Please confirm your email address using the confirmation link at the message we sent you
</span>
<a class="text-white right" style="text-decoration:underline;" ng-click="resendVerificationEmail()">Resend</a>
</span>
<div ng-controller="SidebarController" ng-show="$root.iden && !$root.hideNavigation">

View File

@ -1,10 +1,14 @@
'use strict';
angular.module('copayApp.controllers').controller('IndexController', function($scope, go, isCordova) {
angular.module('copayApp.controllers').controller('IndexController', function($scope, go, isCordova, identityService) {
$scope.init = function() {
};
$scope.resendVerificationEmail = function (cb) {
identityService.resendVerificationEmail(cb);
};
$scope.swipe = function(invert) {
go.swipe(invert);
};

View File

@ -62,6 +62,10 @@ angular.module('copayApp.services')
});
};
root.resendVerificationEmail = function (cb) {
console.log('yes');
};
root.setServerStatus = function(headers) {
if (!headers)
return;