forked from projects/fipamo
dash index quick clean up
just a quick tweak to make the sorting a bit cleaner
This commit is contained in:
parent
2395278893
commit
eda7fd4d3e
1 changed files with 2 additions and 8 deletions
|
@ -10,14 +10,8 @@
|
||||||
@php
|
@php
|
||||||
$type = '';
|
$type = '';
|
||||||
$file = '';
|
$file = '';
|
||||||
if(isset($page['media'][0]['type']))
|
isset($page['media'][0]['type']) ? $type = $page['media'][0]['type'] : $type = '';
|
||||||
{
|
isset($page['media'][0]['file']) ? $file = $page['media'][0]['file'] : $file = '';
|
||||||
$type = $page['media'][0]['type'];
|
|
||||||
}
|
|
||||||
if(isset($page['media'][0]['file']))
|
|
||||||
{
|
|
||||||
$file = $page['media'][0]['file'];
|
|
||||||
}
|
|
||||||
@endphp
|
@endphp
|
||||||
@if($type =='mp4')
|
@if($type =='mp4')
|
||||||
<a href="/dashboard/page/edit/{{ $page['uuid'] }}" id="{{ $page['uuid'] }}" class="post-video-link recent-link">
|
<a href="/dashboard/page/edit/{{ $page['uuid'] }}" id="{{ $page['uuid'] }}" class="post-video-link recent-link">
|
||||||
|
|
Loading…
Reference in a new issue