{% load static i18n lotus smart_image %} {% with article_categories=article_object.get_categories %}
{% if article_categories %} {% for category in article_categories %} {{ category.title }}{% if not forloop.last %}, {% endif %} {% endfor %} {% else %}   {% endif %}
{% if article_object.cover %} {% media_thumb article_object.cover "210x210" crop="center" as cover_thumb %} {{ article_object.cover_alt_text }} {% endif %}
{{ article_object.publish_datetime|date:"d. F Y" }}

{{ article_object.title }}

{% if article_object.cover %}
{{ article_object.cover_alt_text }}
{% endif %}
{{ article_object.introduction|safe }}
{% if article_object.image %} {% media_thumb article_object.image "210x210" crop="center" as main_thumb %} {{ article_object.image_alt_text }} {% endif %}
{{ article_object.content|safe }}
{% endwith %} {% if user.is_authenticated and user.is_staff %} {% article_state_list article as article_states %} {% if "featured" in article_states or "pinned" in article_states or "draft" in article_states or "private" in article_states or "passed" in article_states or "not-yet" in article_states %}

{% if "featured" in article_states %} {% endif %} {% if "pinned" in article_states %} {% endif %} {% if "draft" in article_states %} {% endif %} {% if "private" in article_states %} {% endif %} {% if "not-yet" in article_states %} {% endif %} {% if "passed" in article_states %} {% endif %}

{% endif %} {% endif %}