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