{% extends "admin/base_site_nav.html" %} {% load i18n %} {% block content_title %}
{% block tools %}{% endblock %}

{{title|capfirst|escape}}: {% trans 'Change history'|escape %}

{% if model == 'bucket' %}{% include "buckettabs.html" %} {% elif model == 'buffer' %}{% include "buffertabs.html" %} {% elif model == 'calendar' %}{% include "calendartabs.html" %} {% elif model == 'customer' %}{% include "customertabs.html" %} {% elif model == 'demand' %}{% include "demandtabs.html" %} {% elif model == 'flow' %}{% include "flowtabs.html" %} {% elif model == 'forecast' %}{% include "forecasttabs.html" %} {% elif model == 'group' %}{% include "grouptabs.html" %} {% elif model == 'item' %}{% include "itemtabs.html" %} {% elif model == 'load' %}{% include "loadtabs.html" %} {% elif model == 'location' %}{% include "locationtabs.html" %} {% elif model == 'operation' %}{% include "operationtabs.html" %} {% elif model == 'resource' %}{% include "resourcetabs.html" %} {% elif model == 'setupmatrix' %}{% include "setupmatrixtabs.html" %} {% elif model == 'parameter' %}{% include "parametertabs.html" %} {% endif %}
{% endblock %} {% block content %}
{% if action_list %} {% for action in action_list %} {% endfor %}
{% trans 'Date/time' %} {% trans 'User' %} {% trans 'Action Type' %} {% trans 'Action' %}
{{action.action_time|date:"DATETIME_FORMAT"}} {{action.user.username}}{% if action.user.get_full_name %} ({{action.user.get_full_name}}){% endif %} {% if action.action_flag = 1 %}{% trans 'Create' %}{% elif action.action_flag = 2 %}{% trans 'Change' %}{% elif action.action_flag = 3 %}{% trans 'Delete' %}{% endif %} {{action.change_message}}
{% else %}

{% trans "This object doesn't have a change history. It probably wasn't added via this admin site." %}

{% endif %}
{% endblock %}