{% extends "base.html" %} {% load i18n %} {% load static %} {% comment %} layerindex-web - history list page template Copyright (C) 2013 Intel Corporation Licensed under the MIT license, see COPYING.MIT for details {% endcomment %} {% block content %} {% autoescape on %}
Date/time | User | Change |
---|---|---|
{{ revision.date_created|timesince }} ago | {{ revision.user }} |
{% if revision.comment %}
{{ revision.comment|linebreaksbr }}
{% else %}
{% for version in revision.version_set.all %}
{% if version.type == 0 %}
Added
{% elif version.type == 1 %}
Changed
{% elif version.type == 2 %}
Deleted
{% endif %}
{{ version.content_type.name.lower }}: {{ version.object_repr }}
{% endfor %} {% endif %} |