Commit beb220f5d9cc0051dead1a2bfe4bedf11c720571

Authored by Wilmer
1 parent 6f4724b063
Exists in master

quitada la ñ por motivos de compatibilidad con los idiomas

app/Resources/views/cea/ascenso_mostar.html.twig
@@ -153,16 +153,16 @@ @@ -153,16 +153,16 @@
153 </table> 153 </table>
154 154
155 <p><strong>Escalafón Solicita:</strong> {{ ascenso.idEscalafones.nombre }} </p> 155 <p><strong>Escalafón Solicita:</strong> {{ ascenso.idEscalafones.nombre }} </p>
156 - {% set añadirJurado = false %} 156 + {% set anadirJurado = false %}
157 {% if (ascenso.tesisUbv or ascenso.tipoTrabajoInvestigacion == 'investigacion') %} 157 {% if (ascenso.tesisUbv or ascenso.tipoTrabajoInvestigacion == 'investigacion') %}
158 <h4>Jurados propuestos por el Docente</h4> 158 <h4>Jurados propuestos por el Docente</h4>
159 - {% set añadirJurado = true %} 159 + {% set anadirJurado = true %}
160 {% set cantidadJurado = 6 %} 160 {% set cantidadJurado = 6 %}
161 <div id="seccion_jurados" class="well"> 161 <div id="seccion_jurados" class="well">
162 <ul> 162 <ul>
163 {% for tutor in ascenso.tutoresAscenso %} 163 {% for tutor in ascenso.tutoresAscenso %}
164 {% if loop.length == 6 %} 164 {% if loop.length == 6 %}
165 - {% set añadirJurado = false %} 165 + {% set anadirJurado = false %}
166 {% else %} 166 {% else %}
167 {% set cantidadJurado = cantidadJurado - 1 %} 167 {% set cantidadJurado = cantidadJurado - 1 %}
168 {% endif %} 168 {% endif %}
@@ -179,7 +179,7 @@ @@ -179,7 +179,7 @@
179 </ul> 179 </ul>
180 </div> 180 </div>
181 {% endif %} 181 {% endif %}
182 - {% if añadirJurado and ascenso.idEstatus.id == 2 %} 182 + {% if anadirJurado and ascenso.idEstatus.id == 2 %}
183 <p id="falta" class="label label-danger" data-faltaid = '{{cantidadJurado}}'> 183 <p id="falta" class="label label-danger" data-faltaid = '{{cantidadJurado}}'>
184 El docente no tiene o le faltó completar posibles jurados 184 El docente no tiene o le faltó completar posibles jurados
185 </p> 185 </p>
@@ -187,7 +187,7 @@ @@ -187,7 +187,7 @@
187 {{ form_start(form) }} 187 {{ form_start(form) }}
188 {{ form_widget(form) }} 188 {{ form_widget(form) }}
189 {{ form_end(form) }} 189 {{ form_end(form) }}
190 - <button class="btn btn-primary btn-sm" id="añadirJurados">Añadir Jurados</button> 190 + <button class="btn btn-primary btn-sm" id="anadirJurados">Añadir Jurados</button>
191 {% else %} 191 {% else %}
192 <p id="falta" class="label label-success" data-faltaid = '0'> 192 <p id="falta" class="label label-success" data-faltaid = '0'>
193 El docente completó los 6 Jurados Propuestos 193 El docente completó los 6 Jurados Propuestos
@@ -371,7 +371,7 @@ @@ -371,7 +371,7 @@
371 371
372 372
373 373
374 - $( "#añadirJurados" ).click(function() { 374 + $( "#anadirJurados" ).click(function() {
375 $.ajax({ 375 $.ajax({
376 method: "POST", 376 method: "POST",
377 url: "{{ url('ajax_adicionar_tutor') }}", 377 url: "{{ url('ajax_adicionar_tutor') }}",