Conjunto 1901d86 en sapic


Ignorar:
Fecha y hora:
07/09/2018 12:39:44 (hace 6 años)
Autor:
Luis Marquez <gordreezyogz@…>
Branches:
master
Children:
39b8a44
Parents:
c7b7e3b
Mensaje:

Depurando caracterizacion politica

Ubicación:
explicacion_situacional
Ficheros:
1 borrado
2 editados

Leyenda

No modificado
Añadido
Eliminado
  • explicacion_situacional/templates/caracterizacion.politica.html

    rcd20b73 r1901d86  
    1313            </section>
    1414            {% if consultas %}
    15             <table class="table table-striped table-hover table-bordered blue-table display dataTable" id="table">
    16                             <thead>
    17                                 <tr>
    18                                     <th>Pregunta</t>
    19                                     <th>Respuesta</th>
    20                                     <button type="reset" class="btn btn-primary btn-sm" data-toggle="tooltip">{% trans 'Limpiar' %}</button>
    21                                     <th>Opciones</th>
    22                                 </tr>
    23                             </thead>
    24                             <tbody>
    25                                 {% for respuesta in si_no %}
    26                                 <tr>
    27                                     <td>{{ respuesta.pregunta }}</td>
    28                                       {% if respuesta.texto_respuesta %}
    29                                         <td>Si</td>
    30                                       {% else %}
    31                                         <td>No</td>
    32                                       {% endif %}
    33                                 </tr>
    34                                 {% endfor %}
    35                                 {% for respuesta in opciones %}
    36                                 <tr>
    37                                     <td>{{ respuesta.pregunta }}</td>
    38                                     <td>{{ respuesta.opcion }}</td>
    39                                 </tr>
    40                                 {% endfor %}
    41                                 {% for respuesta in abierta %}
    42                                 <tr>
    43                                     <td>{{ respuesta.pregunta }}</td>
    44                                     <td>{{ respuesta.texto_respuesta }}</td>
    45                                 </tr>
    46                                 {% endfor %}
    47                                 <td class="text-center">
    48                                   <a onclick="return abrir_modal('{% url 'explicacion:modificar_respuesta' %}')" class="btn">
    49                                     <span class="glyphicon glyphicon-edit"></span>
    50                                   </a>
    51                                 </td>
    52                             </tbody>
    53                 </table>
    54                         <input type="button" style="margin: 20px;" id="pdf" value="pdf" />
    5515                      {% endif %}
    5616            <section class="content">
  • explicacion_situacional/views/caracterizacionPoliticaView.py

    rcd20b73 r1901d86  
    8181
    8282
    83 class ModificarOrganizacion(UpdateView):
    84     """!
    85     Clase que muestra el templates de la caracterización política de la comunidad
    8683
    87     @author Ing. Lully Troconis (ltroconis at cenditel.gob.ve)
    88     @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a>
    89     @date 22-08-2018
    90     @version 1.0.0
    91     """
    9284
    93     model = TipoPregunta
    94     template_name = 'caracterizacion.politica.modal.html'
    95     form_class = None
    96     success_url = reverse_lazy('explicacion:caracterizacion_politica')
Nota: Vea TracChangeset para ayuda en el uso del visor de conjuntos de cambios.