{% load versioning %} {% trans "History" %} {% if object.history %} {% with object.history.0 as v %} {% if object.is_dirty %}

{{ v }} {% ifnotequal version v %} {% get_diff_url object v as diff_url %} {% if diff_url %} ({% trans "diff" %}) {% endif %} {% endifnotequal %}

{% else %}

{{ v }}{% if object.is_published_dirty %} * {% endif %}

{% endif %} {% endwith %} {% endif %}