File: /home/cursos.ril.es/storage/framework/views/7a58607c04326ac7d3556ceca2554a0786da1c14.php
<?php $__env->startSection('header'); ?>
@parent
<meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
<title>Datos personales</title>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('pagina'); ?>
<div class="padd-long"></div>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-5 col-md-4">
<h2><?php echo e(Auth::user()->name); ?> <?php echo e(Auth::user()->apellidos); ?></h2>
<div style="max-width: 400px;" class="thumbnail">
<img src="<?php echo e(Auth::user()->avatar); ?>" alt="Avatar de <?php echo e(Auth::user()->name); ?>">
<div class="caption">
<h4><?php echo e(Auth::user()->email); ?></h4>
<h4><?php echo e(Auth::user()->telefono); ?></h4>
<hr />
<p>Camara: <?php echo e(Auth::user()->camara); ?></p>
<hr />
<p><a class="btn btn-default" href="/mi-cuenta/<?php echo e(Auth::user()->id); ?>">Editar tus datos</a></p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-offset-1 col-sm-6 col-md-7">
<section>
<h2>Tus cursos</h2>
<div class="list-group smaller">
<?php if(! Auth::user()->cursos()->count()): ?>
<div class="list-group-item">
<h5>No tienes cursos</h5>
</div>
<?php else: ?>
<?php foreach(Auth::user()->cursos()->get() as $curso): ?>
<?php echo $__env->make('layouts.curso.list', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php endforeach; ?>
<?php endif; ?>
</div>
</section>
<section>
<h2>Cursos en lista de espera</h2>
<div class="list-group smaller">
<?php if(! Auth::user()->enEspera()->count()): ?>
<div class="list-group-item">
<h5>No tienes cursos en lista de espera</h5>
</div>
<?php else: ?>
<?php foreach(Auth::user()->enEspera()->get() as $curso): ?>
<?php echo $__env->make('layouts.curso.list', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php endforeach; ?>
<?php endif; ?>
</div>
</section>
<section>
<h2>Cursos que te interesan</h2>
<div class="list-group smaller">
<?php if(! Auth::user()->intereses()->count()): ?>
<div class="list-group-item">
<h5>No tienes cursos que te interesen</h5>
</div>
<?php else: ?>
<?php foreach(Auth::user()->intereses()->get() as $curso): ?>
<?php echo $__env->make('layouts.curso.list', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php endforeach; ?>
<?php endif; ?>
</div>
</section>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.pagina', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>