mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-22 16:04:10 -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,11 +31,13 @@
|
||||||
<div class="title">
|
<div class="title">
|
||||||
@if(is_array($column))
|
@if(is_array($column))
|
||||||
@foreach($column as $col)
|
@foreach($column as $col)
|
||||||
|
@if($row[$col] != '')
|
||||||
<div class="column">{{ $row[$col] }}</div>
|
<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
|
||||||
{{ $row[$column] }}
|
{{ $row[$column] }}
|
||||||
|
|
Loading…
Reference in a new issue