From 137d775bf236b502e00ea00a70a09ce0fb4a6cd5 Mon Sep 17 00:00:00 2001 From: wilmer Date: Wed, 8 Feb 2017 11:38:59 -0400 Subject: [PATCH] aparecen los datos de los nuevos jurados agregados --- app/Resources/views/cea/ascenso_mostar.html.twig | 17 +++++++++++------ src/AppBundle/Controller/AjaxController.php | 6 ++++++ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/app/Resources/views/cea/ascenso_mostar.html.twig b/app/Resources/views/cea/ascenso_mostar.html.twig index 9bc11c9..c408c2a 100644 --- a/app/Resources/views/cea/ascenso_mostar.html.twig +++ b/app/Resources/views/cea/ascenso_mostar.html.twig @@ -65,6 +65,7 @@

Jurados propuestos por el Docente

{% set añadirJurado = true %} {% set cantidadJurado = 6 %} +
{% for tutor in ascenso.tutoresAscenso %} {{ loop.length }} {% if loop.length == 6 %} @@ -72,6 +73,7 @@ {% else %} {% set cantidadJurado = cantidadJurado - 1 %} {% endif %} +

{{ tutor.nombres }} {{ tutor.apellidos }}: @@ -79,7 +81,9 @@

+ {% endfor %} +
{% if añadirJurado %} {{ dump(cantidadJurado) }}

@@ -271,9 +275,8 @@