first commit
This commit is contained in:
53
resources/views/shortcodes/demands.blade.php
Normal file
53
resources/views/shortcodes/demands.blade.php
Normal file
@ -0,0 +1,53 @@
|
||||
@if(isset($show))
|
||||
|
||||
<div class="{{$css}}">
|
||||
<div class="row">
|
||||
@php
|
||||
|
||||
$Countries = CCMS::getDemandCountries();
|
||||
@endphp
|
||||
|
||||
@if ($Countries && count($Countries) > 0)
|
||||
@foreach ($Countries as $Country)
|
||||
<div class="col-md-3 text-center">
|
||||
<a href="{{site_url('country/'.$Country->alias)}}">
|
||||
<img class="img-fluid" src="{{site_url($Country->image_thumb)}}" alt="">
|
||||
</a>
|
||||
<a href="{{site_url('country/'.$Country->alias)}}">
|
||||
<p class="custom-text2 mt-3 text-center">{!! $Country->title !!}</p>
|
||||
</a>
|
||||
</div>
|
||||
@endforeach
|
||||
@else
|
||||
|
||||
Country not added or published.
|
||||
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
<div class="{{$css}}">
|
||||
<div class="row">
|
||||
@php
|
||||
$JobDemands = CCMS::getPaperDemands();
|
||||
@endphp
|
||||
|
||||
@if ($JobDemands && count($JobDemands) > 0)
|
||||
@foreach ($JobDemands as $JobDemand)
|
||||
<div class="col-md-3 text-center">
|
||||
<a href="{{site_url('demand/'.$JobDemand->alias)}}">
|
||||
<img class="img-fluid" src="{{site_url($JobDemand->thumb)}}" alt="">
|
||||
</a>
|
||||
<a href="{{site_url('demand/'.$JobDemand->alias)}}">
|
||||
<p class="custom-text2 mt-3 text-center">{!! $JobDemand->title !!}</p>
|
||||
</a>
|
||||
</div>
|
||||
@endforeach
|
||||
@else
|
||||
|
||||
Country not added or published.
|
||||
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
Reference in New Issue
Block a user