diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index 5adac2baa1bb..db2627cd1469 100755
--- a/app/controllers/AccountController.php
+++ b/app/controllers/AccountController.php
@@ -50,7 +50,7 @@ class AccountController extends \BaseController {
Auth::login($user, true);
Event::fire('user.login');
- return Redirect::to('invoices/create');
+ return Redirect::to('invoices/create');
}
public function enableProPlan()
diff --git a/app/lang/de/texts.php b/app/lang/de/texts.php
index b8a05f5564f7..80994e330da9 100644
--- a/app/lang/de/texts.php
+++ b/app/lang/de/texts.php
@@ -334,5 +334,8 @@ return array(
'archived_product' => 'Produkt erfolgreich archiviert',
'product_library' => 'Produktbibliothek',
+ 'chart_builder' => 'Chart Builder',
+ 'ninja_email_footer' => 'Use :site to invoice your clients and get paid online for free!',
+
);
diff --git a/app/lang/es/texts.php b/app/lang/es/texts.php
index b79e23eeb930..b03704badd13 100644
--- a/app/lang/es/texts.php
+++ b/app/lang/es/texts.php
@@ -332,5 +332,8 @@ return array(
'updated_product' => 'Successfully updated product',
'created_product' => 'Successfully created product',
'archived_product' => 'Successfully archived product',
+
+ 'chart_builder' => 'Chart Builder',
+ 'ninja_email_footer' => 'Use :site to invoice your clients and get paid online for free!',
);
diff --git a/app/lang/fr/texts.php b/app/lang/fr/texts.php
index 55549733eea6..d3f677279d08 100644
--- a/app/lang/fr/texts.php
+++ b/app/lang/fr/texts.php
@@ -333,5 +333,8 @@ return array(
'updated_product' => 'Successfully updated product',
'created_product' => 'Successfully created product',
'archived_product' => 'Successfully archived product',
+
+ 'chart_builder' => 'Chart Builder',
+ 'ninja_email_footer' => 'Use :site to invoice your clients and get paid online for free!',
);
diff --git a/app/lang/it/texts.php b/app/lang/it/texts.php
index c7bc93202d53..bba41f289c46 100644
--- a/app/lang/it/texts.php
+++ b/app/lang/it/texts.php
@@ -334,4 +334,7 @@ return array(
'created_product' => 'Successfully created product',
'archived_product' => 'Successfully archived product',
+ 'chart_builder' => 'Chart Builder',
+ 'ninja_email_footer' => 'Use :site to invoice your clients and get paid online for free!',
+
);
diff --git a/app/lang/nl/texts.php b/app/lang/nl/texts.php
index 3696b00543db..fa4deda05369 100644
--- a/app/lang/nl/texts.php
+++ b/app/lang/nl/texts.php
@@ -334,5 +334,8 @@ return array(
'updated_product' => 'Successfully updated product',
'created_product' => 'Successfully created product',
'archived_product' => 'Successfully archived product',
+
+ 'chart_builder' => 'Chart Builder',
+ 'ninja_email_footer' => 'Use :site to invoice your clients and get paid online for free!',
);
diff --git a/app/lang/pt_BR/texts.php b/app/lang/pt_BR/texts.php
index e6a0fb30f69c..c7597a53c2b6 100644
--- a/app/lang/pt_BR/texts.php
+++ b/app/lang/pt_BR/texts.php
@@ -323,5 +323,8 @@ return array(
'created_product' => 'Successfully created product',
'archived_product' => 'Successfully archived product',
+ 'chart_builder' => 'Chart Builder',
+ 'ninja_email_footer' => 'Use :site to invoice your clients and get paid online for free!',
+
);
diff --git a/app/views/accounts/payments.blade.php b/app/views/accounts/payments.blade.php
index dad6767e3673..7150a5549388 100755
--- a/app/views/accounts/payments.blade.php
+++ b/app/views/accounts/payments.blade.php
@@ -73,6 +73,11 @@
}
}
+ function gatewayLink(url) {
+ //if (url.match('authorize'))
+ openUrl(url, '/affiliate/' + new URL(url).hostname);
+ }
+
$(document).ready(function() {
$('.recommended-gateway').change(
function(){
@@ -95,7 +100,7 @@
var contents = $(this).parent().contents();
contents[contents.length - 1].nodeValue = '';
$(this).after('
');
- $(this).parent().children().last().after('Create an account');
+ $(this).parent().children().last().after('Create an account');
});
diff --git a/app/views/header.blade.php b/app/views/header.blade.php
index 76aa74764d21..5d95f8b7e830 100755
--- a/app/views/header.blade.php
+++ b/app/views/header.blade.php
@@ -492,6 +492,7 @@ Want something changed? We're {{ link_to('https://github.com/hillelcoren/invoice
trackUrl('/signed_up');
if (result) {
localStorage.setItem('guest_key', '');
+ trackUrl('/user/sign_up');
NINJA.isRegistered = true;
$('#signUpButton').hide();
$('#myAccountButton').html(result);
diff --git a/app/views/master.blade.php b/app/views/master.blade.php
index 58ae3b71fc3c..d14fb94801e8 100755
--- a/app/views/master.blade.php
+++ b/app/views/master.blade.php
@@ -51,17 +51,24 @@