Commit b7e9858dcfb8bfd008739535c1ea8c5340a2cfb1
1 parent
de811c463d
Exists in
master
mostrar planificacion por temas de las uc inscritas a los estudiantes
Showing
2 changed files
with
3 additions
and
1 deletions
Show diff stats
app/Resources/views/inscripcion/index.html.twig
... | ... | @@ -79,7 +79,7 @@ |
79 | 79 | {% if inscritas.getIdSeccion.getPlanificacion | length > 0 %} |
80 | 80 | <ol> |
81 | 81 | {% for planificacion in inscritas.getIdSeccion.getPlanificacion %} |
82 | - <li>{{ planificacion.idTemaUc.nombre }}</li> | |
82 | + <li> <a href="{{ path('ceapp_docente_planificacion_edit', { 'id': planificacion.id }) }}">{{ planificacion.idTemaUc.nombre }}</a></li> | |
83 | 83 | {% endfor %} |
84 | 84 | </ol> |
85 | 85 | {% else %} | ... | ... |
app/Resources/views/planificacionseccion/show.html.twig
... | ... | @@ -27,6 +27,7 @@ |
27 | 27 | <li> |
28 | 28 | <a href="{{ path('ceapp_docente_planificacion_index') }}">Back to the list</a> |
29 | 29 | </li> |
30 | + {% if is_granted('ROLE_DOCENTE') %} | |
30 | 31 | <li> |
31 | 32 | <a href="{{ path('ceapp_docente_planificacion_edit', { 'id': planificacion.id }) }}">Edit</a> |
32 | 33 | </li> |
... | ... | @@ -35,6 +36,7 @@ |
35 | 36 | <a href="{{ path('ceapp_docente_calificar_new', { 'planificacion': planificacion.id }) }}">Calificar</a> |
36 | 37 | </li> |
37 | 38 | {% endif %} |
39 | + {% endif %} | |
38 | 40 | </ul> |
39 | 41 | |
40 | 42 | ... | ... |