{% extends "base.html" %} {% load i18n plmapp_tags %} {% block css %} {% endblock %} {% block content %} {% if add_revision_form and obj.is_revisable and is_contributor %}
{% else %} {% if not is_contributor %} {% trans "You can not revise this object since you are not a contributor." %} {% elif is_readable %} {% if obj.is_cancelled %} {% trans "You can not revise this object since it is cancelled." %} {% elif 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 %}