{% if page_object and request.user.is_superuser %}
| Sl No. | Description | Datetime |
|---|---|---|
|
{{page_object.start_index|add:forloop.counter0}} |
{% if history.history_type == "+" %} Inserted {% elif history.history_type == "^" %} Restored {% elif history.history_type == "-" %} Deleted {% else %} {% if history.status != history.prev_record.status %} {% if history.status %} Enabled {% else %} Disabled {% endif %} {% elif history.is_assigned != history.prev_record.is_assigned %} {% if history.is_assigned %} Assigned {% else %} Unassigned {% endif %} {% else %} Updated {% endif %} {% endif %} by {{history.history_user.full_name}} |
{{history.history_date}} |