Fuente de plantilla: informacion_post.html

{% extends "base_post.html" %} {% load static from staticfiles %} {% block metatags %} <link rel="canonical" href="https://wisphub.net/informacion/{{tipo|lower}}" /> <meta name="robots" content="noindex"> {% if tipo == 'Qa' %} <title> QA - WispHub.net</title> {% else %} <title> {{ tipo }} - WispHub.net</title> {% endif %} {% endblock %} {% block contenedor_post %} <!--Caso de QA --> {% if tipo == 'Qa' %} <h1>QA</h1> <h2>Revisar</h2> {% for dato in page_obj %} <a href="{% url 'ver_post_info_ind_staff' 'qa' dato.id %}" target="_blank" class="informacion-post-a">{{ dato.titulo_post }}</h3></a> {% if dato.subtitulo %} <h3><span class="informacion-post-qa">{{ dato.subtitulo }}</span></br></h3> {% endif %} {{ dato.descripcion|safe }} {% endfor %} {% else %} <!--Caso de Actualizacion o Deploy --> <h1>{{ tipo }}</h1> {% for dato in page_obj %} <h3> {% if tipo == 'Actualizaciones' %} <span class="informacion-post">Fecha de liberacion {{ dato.fecha_estimacion }} </span></br> <a href="{% url 'ver_post_info_ind' 'actualizaciones' dato.id %}" target="_blank" class="informacion-post-a"><span><strong>{{ dato.titulo_post }}</strong></span></a></br> {% if dato.subtitulo %} <span class="informacion-post-span">{{ dato.subtitulo }}</span> {% endif %} {% else %} {% if dato.subtitulo %} <span class="informacion-post">{{ dato.fecha_estimacion }} {{ dato.titulo_post }} {{dato.subtitulo}}</span></br> {% else %} <span class="informacion-post">{{ dato.fecha_estimacion }} {{ dato.titulo_post }}</span> {% endif %} {% endif %} </h3> {{ dato.descripcion|safe }} {% endfor %} {% endif %} {% endblock %} {% block contenedor_paginador %} <ul class = "pagination" style="padding-left: 0px;"> {% if page_obj.has_previous %} <li><a href="?page={{ page_obj.previous_page_number }}" class="informacion-post-slider">&laquo;</a></li> {% endif %} {% for i in page_obj.paginator.page_range %} {% if page_obj.number == i %} <li class="active"><span>{{ i }} <span class="sr-only">(current)</span></span></li> {% else %} <li><a href="?page={{ i }}" class="informacion-post-slider">{{ i }}</a></li> {% endif %} {% endfor %} {% if page_obj.has_next %} <li><a href="?page={{ page_obj.next_page_number }}" class="informacion-post-slider">&raquo;</a></li> {% else %} <li class="disabled"><span>&raquo;</span></li> {% endif %} </ul> {% endblock %} {% block extra_resources %} <link href="{% static 'css/fonts/iconos28022018/font-awesome/css/font-awesome.min.css' %}" rel="stylesheet" type="text/css" media="all"/> <style type="text/css"> .pagination { display: inline-block; padding-left: 0; margin: 20px 0; border-radius: 4px; } .pagination > li { display: inline; } .pagination > li:first-child > span { margin-left: 0; border-bottom-left-radius: 4px; border-top-left-radius: 4px; } .pagination > .active > span { z-index: 3; color: #fff; background-color: #337ab7; border-color: #337ab7; cursor: default; } .pagination > li > a, .pagination > li > span { position: relative; float: left; padding: 6px 12px; line-height: 1.42857; color: #337ab7; background-color: #fff; border: 1px solid #ddd; margin-left: -1px; } .pagination > .disabled > span { color: #777777; background-color: #fff; border-color: #ddd; cursor: not-allowed; } .pagination > li > a:hover { z-index: 2; color: #23527c; background-color: #eeeeee; border-color: #ddd; } </style> {% endblock %}