<?php $__env->startSection('title', 'Areas'); ?>
<?php $__env->startSection('content'); ?>
    <?php /*<?php echo $__env->make('admin.layouts.partials.breadcrumbs', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>*/ ?>
    <?php /*<div class="block-header">*/ ?>
    <?php /*<h2 class="hidden-sm hidden-xs">Listado de personas de la sede "<?php echo urlTexto($slug); ?>" en el área*/ ?>
    <?php /*"<?php echo urlTexto($slugArea); ?>"</h2>*/ ?>
    <?php /*</div>*/ ?>

    <div class="card">
        <div class="lv-header-alt clearfix m-b-5">
            <h2 class="lvh-label hidden-lg hidden-md hidden-sm hidden-xs">Listado de personas del área
                "<?php echo urlTexto($slugArea); ?>"</h2>

            <div class="lvh-search" style="display:block">
                <input type="text" placeholder="Filtra nombre..." id="searchPersona" class="lvhs-input">
                <i class="lvh-search-close close-search">&times;</i>
            </div>
        </div>

        <div class="card-body card-padding">
            <?php if(count($personas) > 0): ?>
                <div class="contacts clearfix row" style="padding-top: 20px;">
                    <?php foreach($personas as $persona): ?>
                        <div class="col-md-2 col-sm-4 col-xs-6 listadoPersona">
                            <a href="<?php echo e(route('admin.sede.area.persona',[$slug, $slugArea, $persona->slug])); ?>"
                               class="ci-avatar" style="display: block;">
                                <div class="c-item">
                                    <div class="ci-avatar show-photo-profile-radius">
                                        <?php echo e(Html::image(loadPhotoProfile($persona->foto,$persona->genero), $persona->apellidos_nombres,['class'=>'p-10'])); ?>

                                    </div>
                                    <div class="c-info">
                                        <strong><?php echo e($persona->apellidos_nombres); ?></strong>
                                        <small><?php echo e(existsContent($persona->email)); ?></small>
                                    </div>
                                    <div class="c-footer">
                                        <button class="waves-effect"><i class="zmdi zmdi-eye"></i></button>
                                    </div>
                                </div>
                            </a>
                        </div>
                    <?php endforeach; ?>
                </div>
            <?php endif; ?>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.template', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>