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