mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-26 00:51:26 -05:00
Skip empty columns in the dashboard edit-list title block
This commit is contained in:
parent
01fcbd5cef
commit
1292201b05
1 changed files with 5 additions and 3 deletions
|
@ -31,10 +31,12 @@
|
||||||
<div class="title">
|
<div class="title">
|
||||||
@if(is_array($column))
|
@if(is_array($column))
|
||||||
@foreach($column as $col)
|
@foreach($column as $col)
|
||||||
<div class="column">{{ $row[$col] }}</div>
|
@if($row[$col] != '')
|
||||||
|
<div class="column">{{ $row[$col] }}</div>
|
||||||
|
|
||||||
@if(!$loop->last)
|
@if(!$loop->last)
|
||||||
<div class="column">|</div>
|
<div class="column">|</div>
|
||||||
|
@endif
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
@else
|
@else
|
||||||
|
|
Loading…
Reference in a new issue