<?php $__env->startSection('content'); ?>
    <?php echo $__env->make('includes.filters', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <?php echo $__env->make('includes.country-filter', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <div class="row count-row hidden-xs">
        <div class="col-md-8">
            <?php echo e(trans('interface.total-results')); ?>

        </div>
        <div class="col-md-4 text-right">
            <?php echo e(trans_choice('interface.count', $news->total())); ?>

        </div>
    </div>
    <?php echo $__env->make('includes.pagination', ['paginator' => $news,'position' => 'top'], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <div class="row">
        <?php if(count($news) > 0): ?>
            <?php foreach($news as $key => $article): ?>
                <a href="<?php echo e(route('newsdetail', ['id' => $article->id])); ?>" class="col-md-6 col-xs-12 news-link">
                    <div class="news-image-wrapper">
                    	<img src="<?php echo e(config('app.assetURL')); ?>/img/news/cover/<?php echo e($article->cover_img); ?>">
                    </div>
                    <div class="news-info">
                        <?php echo e($article->news_date->format('d/m/Y')); ?>

                        -
                        <?php if(isset($article->country) && isset($article->country->country)): ?> <?php echo e(trans('interface.' . strtolower($article->country->country->country))); ?> <?php else: ?> <?php echo e(trans('interface.worldwide')); ?> <?php endif; ?>
                        <?php if(isset($article->season)): ?> - <?php echo e($article->season->prefisso); ?> <?php endif; ?>
                        <?php if(isset($article->year)): ?> <?php echo e($article->year->year); ?> <?php endif; ?>
                    </div>
                    <?php if(App::getLocale() == 'en'): ?>
                        <div class="news-title chronicle">
                            <?php echo e($article->english->title); ?>

                        </div>
                        <div class="news-subtitle chronicle">
                            <?php echo e($article->english->subtitle); ?>

                        </div>
                    <?php else: ?>
                        <div class="news-title chronicle">
                            <?php echo e($article->title); ?>

                        </div>
                        <div class="news-subtitle chronicle">
                            <?php echo e($article->subtitle); ?>

                        </div>
                    <?php endif; ?>
                </a>
                <?php if((($key + 1) % 2) === 0): ?>
                    <div class="clearfix hidden-xs" style="margin-bottom: 1.5em;"></div>
                <?php endif; ?>
            <?php endforeach; ?>
        <?php else: ?>
            <div class="col-md-12 text-center">
                <?php echo e(trans('interface.empty-list')); ?>

            </div>
        <?php endif; ?>
    </div>
    <?php echo $__env->make('includes.pagination', ['paginator' => $news,'position' => 'bottom'], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <?php echo $__env->make('includes.video-wrapper', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>