mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 19:26:38 -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">
|
||||
@if(is_array($column))
|
||||
@foreach($column as $col)
|
||||
<div class="column">{{ $row[$col] }}</div>
|
||||
@if($row[$col] != '')
|
||||
<div class="column">{{ $row[$col] }}</div>
|
||||
|
||||
@if(!$loop->last)
|
||||
<div class="column">|</div>
|
||||
@if(!$loop->last)
|
||||
<div class="column">|</div>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
@else
|
||||
|
|
Loading…
Reference in a new issue