Commit 78087d3cc05826e773b8018649a1c1a2461e2297
1 parent
dc15f7b677
Exists in
master
arreglado la cantidad de jurado a la hora de agregar los faltantes si es que les…
… falto al docente al solicitar ascenso
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
app/Resources/views/cea/ascenso_mostar.html.twig
... | ... | @@ -66,10 +66,11 @@ |
66 | 66 | {% set añadirJurado = true %} |
67 | 67 | {% set cantidadJurado = 6 %} |
68 | 68 | {% for tutor in ascenso.tutoresAscenso %} |
69 | - {% if loop.length >= 5 %} | |
69 | + {{ loop.length }} | |
70 | + {% if loop.length == 6 %} | |
70 | 71 | {% set añadirJurado = false %} |
71 | 72 | {% else %} |
72 | - {% set cantidadJurado = cantidadJurado - loop.index %} | |
73 | + {% set cantidadJurado = cantidadJurado - 1 %} | |
73 | 74 | {% endif %} |
74 | 75 | <p class="well"> |
75 | 76 | ... | ... |