{% extends "base/base.html" %} {% block content %}
{% if cliente %}

Cliente -- {{cliente.nombre}}

{{cliente.nombre}} {% elif tecnico %}

Tecnico -- {{tecnico.nombre}}

{% elif grupo %} {{grupo.nombre}} {% else %}

Tiquets abiertos

{% endif %}



{% for tiquet in tiquets %}
{{tiquet.fecha_apertura}}
{{tiquet.timeOpen.days}} dias {% widthratio tiquet.timeOpen.seconds 3600 1 %} horas
{{tiquet.subcategoria}}
{{tiquet.estado}}
{% if tiquet.comentario %}
{{tiquet.comentario}}
{% endif %}
{% endfor %} {% if tiquets.has_other_pages %}
    {% if tiquets.has_previous %}
  • «
  • {% else %}
  • «
  • {% endif %} {% for i in tiquets.paginator.page_range %} {% if tiquets.number == i %}
  • {{ i }} (current)
  • {% else %}
  • {{ i }}
  • {% endif %} {% endfor %} {% if tiquets.has_next %}
  • »
  • {% else %}
  • »
  • {% endif %}
{% endif %}
{% endblock %}