{# The reason that we did not indent this code is because if we did, Markdown would treat it as code rather than HTML. #} {% load i18n %} {% if object %}

{{ object }}

{% if object.taken_by %}

{% trans "By" %} {{ object.taken_by }}

{% endif %} {% if object.description %}

{{ object.description }}

{% endif %} {% else %} {% for object in object_list %}

{{ object }}

{% if object.taken_by %}

{% trans "By" %} {{ object.taken_by }}

{% endif %} {% if object.description %}

{{ object.description }}

{% endif %} {% endfor %} {% endif %}