@switch($shortcode->style) @case('style-2') {!! BaseHelper::clean($shortcode->title) !!} {!! BaseHelper::clean($shortcode->description) !!} @foreach($companies as $company) @if ($company->logo) @endif {{ $company->name }} @if(JobBoardHelper::isEnabledReview()) {!! Theme::partial('rating-star', ['star' => round($company->reviews_avg_star)]) !!} ({{ $company->reviews_count }}) @endif {{ $company->state_name ? $company->state_name . ', ' : '' }} {{ $company->country->code }} @include(Theme::getThemeNamespace('partials.job-count'), ['company' => $company]) @endforeach @break @case('style-3') {!! BaseHelper::clean($shortcode->title) !!} {!! BaseHelper::clean($shortcode->description) !!} @foreach($companies as $company) @if ($company->logo) @endif {{ $company->name }} @if(JobBoardHelper::isEnabledReview()) {!! Theme::partial('rating-star', ['star' => round($company->reviews_avg_star)]) !!} ({{ $company->reviews_count }}) @endif {{ $company->state_name ? $company->state_name . ', ' : '' }} {{ $company->country->code }} @include(Theme::getThemeNamespace('partials.job-count'), ['company' => $company]) @endforeach @break @default {!! BaseHelper::clean($shortcode->title) !!} {!! BaseHelper::clean($shortcode->description) !!} @foreach($companies as $company) @if ($company->logo) @endif {{ $company->name }} @if(JobBoardHelper::isEnabledReview()) {!! Theme::partial('rating-star', ['star' => round($company->reviews_avg_star)]) !!} ({{ $company->reviews_count }}) @endif {{ $company->state_name ? $company->state_name . ', ' : '' }} {{ $company->country->code }} @include(Theme::getThemeNamespace('partials.job-count'), ['company' => $company]) @endforeach @if($companies->count() > 15) @endif @break @endswitch
{!! BaseHelper::clean($shortcode->description) !!}