From 9239424fda398a8f689de603b371d25c8d547476 Mon Sep 17 00:00:00 2001 From: Samuel De Backer Date: Wed, 18 Jun 2014 15:52:53 +0200 Subject: [PATCH] partners on every pages --- .../Pages/Views/pages/public/home.blade.php | 20 ++----------------- app/views/public/master.blade.php | 20 +++++++++++++++++++ 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/app/TypiCMS/Modules/Pages/Views/pages/public/home.blade.php b/app/TypiCMS/Modules/Pages/Views/pages/public/home.blade.php index 13fa9be6..d17b656b 100644 --- a/app/TypiCMS/Modules/Pages/Views/pages/public/home.blade.php +++ b/app/TypiCMS/Modules/Pages/Views/pages/public/home.blade.php @@ -6,7 +6,7 @@
- @if($latestNews = News::latest(3)) + @if($latestNews = News::latest(3) and count($latestNews))

@lang('db.Latest news')

-
- @if($partners = Partners::getAll()) -

- @lang('db.Partners') -

- - @endif -
- @stop diff --git a/app/views/public/master.blade.php b/app/views/public/master.blade.php index 72825b3a..8902119a 100644 --- a/app/views/public/master.blade.php +++ b/app/views/public/master.blade.php @@ -58,14 +58,34 @@ @yield('main') +
+ @if($partners = Partners::getAll() and count($partners)) +

+ @lang('db.Partners') +

+ + @endif +
+ @section('footer')
+
{{ Menu::build('social', array('id' => 'social')) }}
+ +
@show