forked from projects/fipamo
47 lines
718 B
PHP
47 lines
718 B
PHP
|
@php
|
||
|
|
||
|
if($page['menu'] == 'true')
|
||
|
{
|
||
|
$menu = 'true';
|
||
|
}else{
|
||
|
$menu = 'false';
|
||
|
}
|
||
|
|
||
|
if($page['published'] == 'true')
|
||
|
{
|
||
|
$published = 'true';
|
||
|
}else{
|
||
|
$published = 'false';
|
||
|
}
|
||
|
|
||
|
if($page['featured'] == 'true')
|
||
|
{
|
||
|
$featured = 'true';
|
||
|
}else{
|
||
|
$featured = 'false';
|
||
|
}
|
||
|
|
||
|
@endphp
|
||
|
|
||
|
<aside>
|
||
|
<strong>
|
||
|
{{ $page['updated'] }}
|
||
|
</strong>
|
||
|
<hr/>
|
||
|
<strong>
|
||
|
{{ $page['title'] }}
|
||
|
</strong>
|
||
|
<hr/>
|
||
|
<button data-active="{{ $menu }}">
|
||
|
<i class="ti ti-navigation"></i>
|
||
|
</button>
|
||
|
<button data-active="{{ $published }}">
|
||
|
<i class="ti ti-world"></i>
|
||
|
</button>
|
||
|
|
||
|
<button data-active="{{ $featured }}">
|
||
|
<i class="ti ti-star"></i>
|
||
|
</button>
|
||
|
|
||
|
</aside>
|