mirror of https://github.com/BTCPrivate/copay.git
fix wording in comment popup
This commit is contained in:
parent
91ac072083
commit
c3ca7cdf2f
|
@ -157,7 +157,7 @@
|
|||
(getShortNetworkName() == 'test' ? 'test-' : '') + 'insight.bitpay.com/tx/' + btx.txid)">
|
||||
<span class="text-gray" translate>See it on the blockchain</span>
|
||||
</button>
|
||||
<button class="button outline round dark-gray tiny" ng-click="showCommentPopup()">
|
||||
<button class="button outline round dark-gray tiny" ng-click="showCommentPopup(comment)">
|
||||
<span class="text-gray" translate ng-show="!comment">Add a comment <i class="ion-ios-plus-outline"></i></span>
|
||||
<span class="text-gray" translate ng-show="comment">Edit comment <i class="ion-ios-compose-outline"></i></span>
|
||||
</button>
|
||||
|
|
|
@ -34,8 +34,7 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio
|
|||
|
||||
var commentPopup = $ionicPopup.show({
|
||||
templateUrl: "views/includes/note.html",
|
||||
title: gettextCatalog.getString('Enter a new comment'),
|
||||
subTitle: gettextCatalog.getString('Save an empty content to delete it'),
|
||||
title: !$scope.comment ? gettextCatalog.getString('Enter a new comment') : gettextCatalog.getString('Edit comment'),
|
||||
scope: $scope,
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue