Last change
on this file since 52a0eb9 was
52a0eb9,
checked in by Leonel Hernandez <leonelphm@…>, 7 years ago
|
Se añadio update del evento cuando el ultimo participante firma, ademas se agregaron los acentos a los mensajes y se acomodaron palabras lugubert
|
-
Property mode set to
100755
|
File size:
2.6 KB
|
Line | |
---|
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 | Sí, 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">Firmó?</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="Sí">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 | {% if object.serial %} |
---|
55 | <iframe width="700px" height="600px" src="https://murachi.cenditel.gob.ve/Murachi/0.1/archivos/listadopdf/{{object.serial}}">'; |
---|
56 | </iframe> |
---|
57 | {% else %} |
---|
58 | <h4 class="red-text">No cargó ningun documento</h4> |
---|
59 | {% endif %} |
---|
60 | </div> |
---|
61 | <div class="row"> |
---|
62 | <a class="btn waves-effect blue darken-1" href="{% url 'events:list_events' %}" >Regresar</a> |
---|
63 | </div> |
---|
64 | {% endblock %} |
---|
Note: See
TracBrowser
for help on using the repository browser.