{% load i18n %} {% load url from future %} {% if history_list %} {% for history in history_list %}
  • {{ history }} {% if history.related_object %} {% if history.action_type == history.ACTION_TYPE.update %} ({% trans "before" %}) ({% trans "after" %}) {% else %} ({% trans "show previous revision" %}) {% endif %} {% endif %}
  • {% endfor %} {% else %}{% if permission %}
  • You need to have "history.view_history" and "{{ permission }}" to view this object's history. Please contact your system administrator for help.
  • {% else %}
  • {% trans "There's no history available for this object." %}
  • {% endif %}{% endif %} {% if not has_more %} -uieof- {% endif %}