|
|
@ -8,22 +8,26 @@ |
|
|
@include('couples.partials.stat') |
|
|
@include('couples.partials.stat') |
|
|
<br> |
|
|
<br> |
|
|
<h4 class="page-header">{{ trans('user.childs') }} & {{ trans('user.grand_childs') }}</h4 class="page-header"> |
|
|
<h4 class="page-header">{{ trans('user.childs') }} & {{ trans('user.grand_childs') }}</h4 class="page-header"> |
|
|
<?php $no = 0; ?>
|
|
|
|
|
|
@foreach($couple->childs->chunk(4) as $chunkedChild) |
|
|
|
|
|
<div class=""> |
|
|
|
|
|
@foreach($chunkedChild as $child) |
|
|
|
|
|
<div class="col-md-3"> |
|
|
|
|
|
<h4><strong>{{ ++$no }}. {{ $child->profileLink() }} ({{ $child->gender }})</strong></h4> |
|
|
|
|
|
<ul style="padding-left: 35px"> |
|
|
|
|
|
@foreach($child->childs as $grand) |
|
|
|
|
|
<li>{{ $grand->profileLink() }} ({{ $grand->gender }})</li> |
|
|
|
|
|
@endforeach |
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
|
@if ($couple->childs->isEmpty()) |
|
|
|
|
|
<i>{{ trans('app.childs_were_not_recorded') }}</i> |
|
|
|
|
|
@else |
|
|
|
|
|
<?php $no = 0; ?>
|
|
|
|
|
|
@foreach($couple->childs->chunk(4) as $chunkedChild) |
|
|
|
|
|
<div class="row"> |
|
|
|
|
|
@foreach($chunkedChild as $child) |
|
|
|
|
|
<div class="col-md-3"> |
|
|
|
|
|
<h4><strong>{{ ++$no }}. {{ $child->profileLink() }} ({{ $child->gender }})</strong></h4> |
|
|
|
|
|
<ul style="padding-left: 35px"> |
|
|
|
|
|
@foreach($child->childs as $grand) |
|
|
|
|
|
<li>{{ $grand->profileLink() }} ({{ $grand->gender }})</li> |
|
|
|
|
|
@endforeach |
|
|
|
|
|
</ul> |
|
|
|
|
|
</div> |
|
|
|
|
|
@endforeach |
|
|
|
|
|
@if (! $loop->last) |
|
|
|
|
|
<div class="clearfix"></div><hr> |
|
|
|
|
|
@endif |
|
|
</div> |
|
|
</div> |
|
|
@endforeach |
|
|
@endforeach |
|
|
@if (! $loop->last) |
|
|
|
|
|
<div class="clearfix"></div><hr> |
|
|
|
|
|
@endif |
|
|
|
|
|
</div> |
|
|
|
|
|
@endforeach |
|
|
|
|
|
|
|
|
@endif |
|
|
@endsection |
|
|
@endsection |