{% extends "base.html" %} {% load i18n plmapp_tags %} {# template to display a pulished object #} {# disable search panel and toolbar #} {% block toolbar %} {% endblock %} {% block leftcolumn %} {% endblock %} {% block content %} {% if obj.published or is_readable %} {% if obj.files %}
{{df.filename}} | {{df.size|filesizeformat}} | {% if df.thumbnail %} {% else %} {% trans "No thumbnail available" %} {% endif %} |
{{description|capfirst}} |
{% if attribute.year %}
{{ attribute|date:"DATETIME_FORMAT" }} —
{% blocktrans with attribute|timesince as time_since %}{{time_since}} ago{% endblocktrans %}
{% elif richtext %}
{{ attribute|richtext_filter:obj }}
{% else %}
{{attribute|linebreaks}}
{% endif %}
|
{{object.reference}} | {{object.revision}} | {{object.type}} | {{object.state.name}} |
{{object.reference}} | {{object.revision}} | {{object.type}} | {{object.name}} |
{% if obj.is_part %} {% trans "This part is unpublished."%} {% else %} {% trans "This document is unpublished."%} {% endif %}
{% endif %} {% endblock %}