mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
Minor fixes
This commit is contained in:
parent
8b2f7eb39f
commit
5c7a15ff83
@ -325,6 +325,9 @@ Route::get('/compare-online-invoicing{sites?}', function() {
|
|||||||
Route::get('/forgot', function() {
|
Route::get('/forgot', function() {
|
||||||
return Redirect::to(NINJA_APP_URL.'/recover_password', 301);
|
return Redirect::to(NINJA_APP_URL.'/recover_password', 301);
|
||||||
});
|
});
|
||||||
|
Route::get('/feed', function() {
|
||||||
|
return Redirect::to(NINJA_WEB_URL.'/feed', 301);
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
if (!defined('CONTACT_EMAIL')) {
|
if (!defined('CONTACT_EMAIL')) {
|
||||||
|
@ -7,7 +7,7 @@ class ReferralRepository
|
|||||||
{
|
{
|
||||||
public function getCounts($userId)
|
public function getCounts($userId)
|
||||||
{
|
{
|
||||||
$accounts = Account::where('referral_user_id', $userId);
|
$accounts = Account::where('referral_user_id', $userId)->get();
|
||||||
|
|
||||||
$counts = [
|
$counts = [
|
||||||
'free' => 0,
|
'free' => 0,
|
||||||
|
@ -1348,6 +1348,9 @@ $LANG = array(
|
|||||||
'payment_settings_supported_gateways' => 'These options are supported by the WePay, Stripe, and Braintree gateways.',
|
'payment_settings_supported_gateways' => 'These options are supported by the WePay, Stripe, and Braintree gateways.',
|
||||||
'ach_email_prompt' => 'Please enter your email address:',
|
'ach_email_prompt' => 'Please enter your email address:',
|
||||||
'verification_pending' => 'Verification Pending',
|
'verification_pending' => 'Verification Pending',
|
||||||
|
|
||||||
|
'update_font_cache' => 'Please force refresh the page to update the font cache.',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
return $LANG;
|
return $LANG;
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (errorMsg.indexOf('No unicode cmap for font') > -1) {
|
if (errorMsg.indexOf('No unicode cmap for font') > -1) {
|
||||||
alert("Please force refresh the page to update the font cache.\n\n - Windows: Ctrl + F5\n - Mac/Apple: Apple + R or Command + R\n - Linux: F5");
|
alert("{{ trans('texts.update_font_cache') }}\n\n - Windows: Ctrl + F5\n - Mac/Apple: Apple + R or Command + R\n - Linux: F5");
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user