1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

Minor fixes

This commit is contained in:
Hillel Coren 2016-06-05 19:10:15 +03:00
parent 8b2f7eb39f
commit 5c7a15ff83
4 changed files with 11 additions and 5 deletions

View File

@ -325,6 +325,9 @@ Route::get('/compare-online-invoicing{sites?}', function() {
Route::get('/forgot', function() {
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')) {

View File

@ -7,7 +7,7 @@ class ReferralRepository
{
public function getCounts($userId)
{
$accounts = Account::where('referral_user_id', $userId);
$accounts = Account::where('referral_user_id', $userId)->get();
$counts = [
'free' => 0,

View File

@ -1348,6 +1348,9 @@ $LANG = array(
'payment_settings_supported_gateways' => 'These options are supported by the WePay, Stripe, and Braintree gateways.',
'ach_email_prompt' => 'Please enter your email address:',
'verification_pending' => 'Verification Pending',
'update_font_cache' => 'Please force refresh the page to update the font cache.',
);
return $LANG;

View File

@ -48,7 +48,7 @@
}
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 {