{% load ietf_streams %}
{% if workflow %}
    {% for tag in tags %} {{ tag }} {% endfor %}
{% endif %}
{% if stream %}

{{ stream|default:"Without stream" }}{% if stream.with_groups and streamed.group %} :: {{ streamed.group|default:"" }}{% endif %}

Current state: {{ state|default:"None" }}

{% else %}

Without stream

{% endif %}
{% if history %}
{% if show_more %}

Viewing the last 20 entries. Show full log.

{% endif %} {% for entry in history %} {% workflow_history_entry entry %} {% endfor %} {% if show_more %}

Viewing the last 20 entries. Show full log.

{% endif %}
{% else %}

There is no stream history for this document.

{% endif %}