{% extends 'CmBundle:Z:baseDos.html.twig' %}

{% block stylesheet %}
{% endblock %}

{% block javascripts %}
    <script src="{{asset('js/misJs/alumno.js')}}"></script>
{% endblock %}

{% block content %}
    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header">Bienvenido {{p.nomPro}} {{p.apePat}} {{p.apeMat}}</h1>
        </div>
        <!-- /.col-lg-12 -->
    </div>
    <!-- /.row -->
    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <i class="fa fa-info fa-fw"></i> CURSO: {{c.nombre}}
                </div>
                <!-- /.panel-heading -->
                <div class="panel-body">
                    <div class="row">
                        <div class="col-lg-12">
                            ESPECIALIDAD: 
                            {% if c.cveLic.cveNivAca.ideNivAca == 3 %}
                                LIC. EN 
                            {% elseif c.veLic.cveNivAca.ideNivAca == 4 %}
                                MTRÍA. EN 
                            {% elseif c.cveLic.cveNivAca.ideNivAca == 5 %}
                                DOC. EN 
                            {% endif %}
                            {{c.cveLic.nomLic}}
                            <br>
                            PERIODO: {{c.cvePer.periodo}}
                        </div>
                        <div class="col-lg-12 table-responsive">
                            <table class="table table-condensed table-hover table-striped">
                                <thead>
                                    <tr>
                                        <th>CUATRIMESTRE</th>
                                        <th>CLAVE</th>
                                        <th>ASIGNATURA</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    {% for d in curriculas %}
                                        <tr>
                                            <td>{{d.numCua}}</td>
                                            <td>{{d.clave}}</td>
                                            <td><a href="{{path('ver_temas_profesor_moodle',{ideCur : d.ideCur,cveCur : c.ideCurso})}}">{{d.nomAsignatura}}</a></td>
                                        </tr>
                                    {% else %}
                                    {% endfor %}
                                </tbody>
                            </table>
                        </div>
                        <!-- /.col-lg-12 (nested) -->
                    </div>
                    <!-- /.row (nested) -->
                </div>
                <!-- /.panel-body -->
            </div>
            <!-- /.panel -->
        </div>
        <!-- /.col-lg-12 -->
    </div>
    <!-- /.row -->
{% endblock %}
