From daf14c69162a6b459a155b410848ecbe817857c7 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 17 Jul 2014 00:04:56 +0300 Subject: [PATCH] Improvements for responsive design --- .env.development.php | 3 +- app/controllers/PaymentController.php | 4 +- app/views/header.blade.php | 20 +++-- app/views/invoices/edit.blade.php | 12 +-- app/views/plans.blade.php | 106 +++++++++++++------------- app/views/public/header.blade.php | 8 +- app/views/public/plans.blade.php | 4 +- public/built.css | 27 +++++-- public/built.public.css | 22 +++--- public/css/splash.css | 22 +++--- public/css/style.css | 27 +++++-- 11 files changed, 145 insertions(+), 110 deletions(-) diff --git a/.env.development.php b/.env.development.php index bfe98cf916d6..a3a31df7b4f5 100644 --- a/.env.development.php +++ b/.env.development.php @@ -4,5 +4,6 @@ return array( //'TAG_MANAGER_KEY' => '', //'ANALYTICS_KEY' => '', - + 'NINJA_PROD' => true, + ); diff --git a/app/controllers/PaymentController.php b/app/controllers/PaymentController.php index 29bc237c2283..36a6a2f6466c 100755 --- a/app/controllers/PaymentController.php +++ b/app/controllers/PaymentController.php @@ -310,7 +310,7 @@ class PaymentController extends \BaseController } } - if (!Session::get('return_url') || !Session::get('affiliate_id')) + if (!Session::get('affiliate_id')) { return Utils::fatalError(); } @@ -428,7 +428,7 @@ class PaymentController extends \BaseController public function claim_license() { - $license = License::where('license_key', '=', Input::get('key')) + $license = License::where('license_key', '=', Input::get('license_key')) ->where('is_claimed', '=', false)->first(); if ($license) diff --git a/app/views/header.blade.php b/app/views/header.blade.php index de07dfa47d80..d84b14aa2060 100755 --- a/app/views/header.blade.php +++ b/app/views/header.blade.php @@ -325,7 +325,7 @@ Want something changed? We're {{ link_to('https://github.com/hillelcoren/invoice @if (Auth::check() && !Auth::user()->isPro())