Last change
on this file since aef49cb was
d2472e8,
checked in by rudmanmrrod <rudman22@…>, 7 years ago
|
Agregado botones para regresar en detalle y firma
|
-
Property mode set to
100644
|
File size:
2.4 KB
|
Rev | Line | |
---|
[27c0bd4] | 1 | {% extends 'base.template.html' %} |
---|
| 2 | {% load staticfiles %} |
---|
| 3 | {% block title %}Detalle del Evento {{ object.nombre_evento }}{% endblock %} |
---|
| 4 | {% block content %} |
---|
| 5 | <h1 class="center">Evento: {{ object.nombre_evento }}</h1><hr> |
---|
| 6 | |
---|
| 7 | <div class="row"> |
---|
| 8 | <div class="col s12 m12"> |
---|
| 9 | <div class="card"> |
---|
| 10 | <div class="card-content"> |
---|
| 11 | <span class="card-title"><b>Nombre del evento: </b>{{ object.nombre_evento }}</span> |
---|
| 12 | <ul> |
---|
| 13 | <li><b>Fecha: </b>{{ object.fecha }}</li> |
---|
| 14 | </ul> |
---|
| 15 | <ul> |
---|
| 16 | <li><b>Activo: </b>{% if object.activo %} |
---|
| 17 | Si, el documento si se encuentra activo aún falta {{num_firma}} {% if num_firma > 1 %}participantes {% else %} participante {% endif%} por firmar</li> |
---|
| 18 | {% else %} |
---|
| 19 | No, el documento no esta activo todos los participantes han firmado</li> |
---|
| 20 | {% endif %} |
---|
| 21 | </ul> |
---|
| 22 | </div> |
---|
| 23 | </div> |
---|
| 24 | </div> |
---|
| 25 | <div class="col s12 m12"> |
---|
| 26 | <table class="responsive-table striped"> |
---|
| 27 | <h4> Participantes</h4> |
---|
| 28 | <thead> |
---|
| 29 | <tr> |
---|
| 30 | <th scope="col">Nombresy Apellidos</th> |
---|
| 31 | <th scope="col">Firmo?</th> |
---|
| 32 | </tr> |
---|
| 33 | </thead> |
---|
| 34 | <tbody> |
---|
| 35 | {% for firmantes in participantes %} |
---|
| 36 | <tr> |
---|
| 37 | <td> |
---|
| 38 | {{ firmantes.fk_participante.nombres }} {{ firmantes.fk_participante.apellidos }} |
---|
| 39 | </td> |
---|
| 40 | <td> |
---|
| 41 | {% if firmantes.firma %} |
---|
| 42 | <i class="material-icons green-text" title="Si">done</i> |
---|
| 43 | {% else %} |
---|
| 44 | <i class="material-icons red-text" title="No">clear</i> |
---|
| 45 | {% endif %} |
---|
| 46 | </td> |
---|
| 47 | </tr> |
---|
| 48 | {% endfor %} |
---|
| 49 | </tbody> |
---|
| 50 | </table> |
---|
| 51 | </div> |
---|
| 52 | </div> |
---|
| 53 | <div class="center"> |
---|
| 54 | <iframe width="700px" height="600px" src="https://192.168.12.154:8443/Murachi/0.1/archivos/listadopdf/{{object.serial}}">'; |
---|
| 55 | </iframe> |
---|
| 56 | </div> |
---|
[d2472e8] | 57 | <div class="row"> |
---|
| 58 | <a class="btn waves-effect blue darken-1" href="{% url 'events:list_events' %}" >Regresar</a> |
---|
| 59 | </div> |
---|
[27c0bd4] | 60 | {% endblock %} |
---|
Note: See
TracBrowser
for help on using the repository browser.