show.html.twig
1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{% extends 'base.html.twig' %}
{% block body %}
<h1>PlanificacionSeccion</h1>
{% for planificacion in planificacionSeccion %}
<table>
<tbody>
<tr>
<th>Fecha_creacion</th>
<td>{% if planificacion.fechacreacion %}{{ planificacion.fechacreacion|date('Y-m-d H:i:s') }}{% endif %}</td>
</tr>
<tr>
<th>Fecha_ultima_actualizacion</th>
<td>{% if planificacion.fechaultimaactualizacion %}{{ planificacion.fechaultimaactualizacion|date('Y-m-d H:i:s') }}{% endif %}</td>
</tr>
<tr>
<th>Observacion</th>
<td>{{ planificacion.observacion }}</td>
</tr>
<tr>
<th>Id</th>
<td>{{ planificacion.id }}</td>
</tr>
</tbody>
</table>
<ul>
<li>
<a href="{{ path('ceapp_docente_planificacion_index') }}">Back to the list</a>
</li>
{% if is_granted('ROLE_DOCENTE') %}
<li>
<a href="{{ path('ceapp_docente_planificacion_edit', { 'id': planificacion.id }) }}">Edit</a>
</li>
{% if porcentaje == 100 %}
<li>
<a href="{{ path('ceapp_docente_calificar_new', { 'planificacion': planificacion.id }) }}">Calificar</a>
</li>
{% endif %}
{% endif %}
</ul>
{% endfor %}
{% endblock %}