{% load i18n aristotle_tags util_tags %}
{% if item_is_version %}
You are viewing a previous version of this item from {% timetag revision.date_created %}
{% else %} {% if custom_visibility_message %}
{{ custom_visibility_message.message }}
{% else %} {% if item.is_superseded %}
{% blocktrans %} This item has been superseded by a newer version by one or more Registration Authorities. {% endblocktrans %} {% comment %} {% include "aristotle_mdr/helpers/itemLink.html" with item=item.superseded_by %}. {% endcomment %}
{% elif item.is_retired %}
{% trans 'This item has been retired and is not recommended for use by any registration authority.'%}
{% elif item.is_public %} {# split the if condition as if its public and not technical, we want nothing not one of the lower alerts #} {% elif item.is_locked %}
{% trans 'This item is currently under development.'%}
{% else %}
{% trans 'This item is under active development. Content may change frequently.'%}
{% endif %} {% endif %} {% endif %}