condition with type status
parent
b28a62f275
commit
f83d24df77
|
@ -1,3 +1,4 @@
|
||||||
|
@inject('type', 'Type')
|
||||||
@extends('template.'.config('settings.template').'.content.master')
|
@extends('template.'.config('settings.template').'.content.master')
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
||||||
|
@ -26,6 +27,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@if($type->get("News")->status)
|
||||||
@php($news = filterByContentType("News"))
|
@php($news = filterByContentType("News"))
|
||||||
@if($news->isNotEmpty())
|
@if($news->isNotEmpty())
|
||||||
<section id="article-section" >
|
<section id="article-section" >
|
||||||
|
@ -83,6 +85,7 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@endif
|
@endif
|
||||||
|
@endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue