mirror of https://github.com/BTCPrivate/copay.git
added resend button
This commit is contained in:
parent
aa8d6f4754
commit
173e5f2b12
|
@ -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">
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
|
|
|
@ -62,6 +62,10 @@ angular.module('copayApp.services')
|
|||
});
|
||||
};
|
||||
|
||||
root.resendVerificationEmail = function (cb) {
|
||||
console.log('yes');
|
||||
};
|
||||
|
||||
root.setServerStatus = function(headers) {
|
||||
if (!headers)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue