Translations additions + some (s)css + review transaction changes

This commit is contained in:
Sebastiaan Pasma 2018-08-02 16:05:12 +02:00
commit f49e8725e8
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
6 changed files with 34 additions and 20 deletions

View file

@ -4,7 +4,7 @@ angular
.module('copayApp.controllers')
.controller('reviewController', reviewController);
function reviewController(addressbookService, configService, profileService, $log, $scope, txFormatService) {
function reviewController(addressbookService, configService, gettextCatalog, profileService, $log, $scope, txFormatService) {
var vm = this;
vm.destination = {
@ -33,6 +33,7 @@ function reviewController(addressbookService, configService, profileService, $lo
vm.secondaryAmount = '';
vm.secondaryCurrency = '';
vm.thirdParty = false;
vm.sendingTitle = gettextCatalog.getString('You are sending');
var config = null;
var coin = '';
@ -62,6 +63,7 @@ function reviewController(addressbookService, configService, profileService, $lo
vm.thirdParty = JSON.parse(data.stateParams.thirdParty); // Parse stringified JSON-object
if (vm.thirdParty) {
if (vm.thirdParty.id === 'shapeshift') {
vm.sendingTitle = gettextCatalog.getString('You are shifting');
if (!vm.thirdParty.data) {
vm.thirdParty.data = {};
}