{% extends "base.html" %} {% load i18n plmapp_tags %} {% block css %} {% endblock %} {% block content %} {% if add_revision_form and obj.is_revisable %}
{% else %} {% if is_readable %} {% if obj.is_cancelled %} {% trans "You can not revise this object since it is cancelled." %} {% else %} {% if obj.is_deprecated %} {% trans "You can not revise this object since it is deprecated." %} {% else %} {% trans "You can not revise this object since a revision already exist." %} {% endif %} {% endif %} {% endif %} {% endif %}