mirror of https://github.com/BTCPrivate/copay.git
add feedback link
This commit is contained in:
parent
4841c2dc05
commit
aece4db5b4
|
@ -176,9 +176,4 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.openExternalLink = function(url) {
|
|
||||||
go.openExternalLink(url);
|
|
||||||
};
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -145,10 +145,6 @@ angular.module('copayApp.controllers').controller('HistoryController',
|
||||||
return w.getNetworkName().substring(0, 4);
|
return w.getNetworkName().substring(0, 4);
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.openExternalLink = function(url) {
|
|
||||||
go.openExternalLink(url);
|
|
||||||
};
|
|
||||||
|
|
||||||
$scope.cancel = function() {
|
$scope.cancel = function() {
|
||||||
$modalInstance.dismiss('cancel');
|
$modalInstance.dismiss('cancel');
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,12 +2,6 @@
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('HomeController', function($scope, $rootScope, $timeout, go, notification, identityService, Compatibility, pinService, applicationService, isMobile) {
|
angular.module('copayApp.controllers').controller('HomeController', function($scope, $rootScope, $timeout, go, notification, identityService, Compatibility, pinService, applicationService, isMobile) {
|
||||||
|
|
||||||
// Global go. This should be in a better place TODO
|
|
||||||
// We dont do a 'go' directive, to use the benefits of ng-touch with ng-click
|
|
||||||
$rootScope.go = function (path) {
|
|
||||||
go.path(path);
|
|
||||||
};
|
|
||||||
|
|
||||||
var _credentials, _firstpin;
|
var _credentials, _firstpin;
|
||||||
$scope.init = function() {
|
$scope.init = function() {
|
||||||
$scope.isMobile = isMobile.any();
|
$scope.isMobile = isMobile.any();
|
||||||
|
|
|
@ -84,5 +84,18 @@ angular.module('copayApp.services').factory('go', function($window, $rootScope,
|
||||||
$location.path('send');
|
$location.path('send');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// Global go. This should be in a better place TODO
|
||||||
|
// We dont do a 'go' directive, to use the benefits of ng-touch with ng-click
|
||||||
|
$rootScope.go = function (path) {
|
||||||
|
root.path(path);
|
||||||
|
};
|
||||||
|
|
||||||
|
$rootScope.openExternalLink = function (url) {
|
||||||
|
root.openExternalLink(url);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return root;
|
return root;
|
||||||
});
|
});
|
||||||
|
|
|
@ -121,7 +121,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<a class="button-setup text-gray"
|
<a class="button-setup text-gray"
|
||||||
ng-click="openExternalLink('https://copay.io/profile-storage.html')">
|
ng-click="$root.openExternalLink('https://copay.io/profile-storage.html')">
|
||||||
Learn more about this option
|
Learn more about this option
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -35,13 +35,20 @@
|
||||||
<i class="icon-download size-18 m10r"></i> {{'Import wallet'|translate}}</a></li>
|
<i class="icon-download size-18 m10r"></i> {{'Import wallet'|translate}}</a></li>
|
||||||
<li class="divider"></li>
|
<li class="divider"></li>
|
||||||
<li><a href="#!/profile" title="Profile">
|
<li><a href="#!/profile" title="Profile">
|
||||||
<i class="icon-person size-18 m10r"></i> {{'Profile'|translate}}<span class="size-10 text-warning" ng-if="!$root.needsEmailConfirmation && $root.iden.backupNeeded"> [ Needs Backup ]</span></a>
|
<i class="icon-person size-18 m10r"></i> {{'My Profile'|translate}}<span class="size-10 text-warning" ng-if="!$root.needsEmailConfirmation && $root.iden.backupNeeded"> [ Needs Backup ]</span></a>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#!/" title="Close" ng-click="signout()">
|
<li><a href="#!/" title="Close" ng-click="signout()">
|
||||||
<span ng-if="!$root.hasPin"><i class="icon-power size-18 m10r"></i> {{'Close'|translate}}</span>
|
<span ng-if="!$root.hasPin"><i class="icon-power size-18 m10r"></i> {{'Close'|translate}}</span>
|
||||||
<span ng-if="$root.hasPin"><i class="fi-lock size-18 m10r"></i> {{'Lock'|translate}}</span>
|
<span ng-if="$root.hasPin"><i class="fi-lock size-18 m10r"></i> {{'Lock'|translate}}</span>
|
||||||
</a></li>
|
</a></li>
|
||||||
|
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li><a ng-click="$root.openExternalLink('https://github.com/bitpay/copay/issues/new')">
|
||||||
|
<i class="fi-comment-quotes size-18 m10r"></i> {{'Leave feedback'|translate}}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
</div>
|
</div>
|
||||||
<p class="text-black m5">{{$root.iden.getName()}}</p>
|
<p class="text-black m5">{{$root.iden.getName()}}</p>
|
||||||
<span class="db text-gray size-10">
|
<span class="db text-gray size-10">
|
||||||
<i class="fi-torso"></i> {{'ViewProfile' | translate }}
|
<i class="fi-torso"></i> {{'View My Profile' | translate }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
<div class="ellipsis text-gray" > ID: {{btx.txid}} </span>
|
<div class="ellipsis text-gray" > ID: {{btx.txid}} </span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a class="right button-setup" ng-click="openExternalLink('http://' + getShortNetworkName() + '.insight.is/tx/' + btx.txid)">
|
<a class="right button-setup" ng-click="$root.openExternalLink('http://' + getShortNetworkName() + '.insight.is/tx/' + btx.txid)">
|
||||||
See it on the blockchain <i class="icon-arrow-right2 vm"></i>
|
See it on the blockchain <i class="icon-arrow-right2 vm"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue