{% extends "arbiter/base.html" %} {% load static %} {% block extrastyle %} {{block.super}} {% endblock %} {% block page-title %} Violations {% endblock %} {% block content %} {% for violation in object_list %} {% endfor %}
Violation Offense Number Timestamp
{{violation}} {{violation.offense_count}} {{violation.timestamp}}

{% if is_paginated %} {% if page_obj.has_previous %} « {% endif %} {% for page_num in page_obj.paginator.page_range %} {% if page_num <= page_obj.number|add:3 and page_num >= page_obj.number|add:-3 %} {% if page_num == page_obj.number %} {{ page_num }} {% else %} {{ page_num }} {% endif %} {% endif %} {% endfor %} {% if page_obj.has_next %} » {% endif %} {% endif %} {% endblock content %}