{% load bootstrap %}
{% load guardian_tags %}
{% get_obj_perms request.user for stream as "sub_perms" %}
{% include 'submissions/_submission_card_content_sparse.html' with submission=stream.submission %}
Stream details
Status: {{ stream.get_status_display }}
{% block officers %}
Production Supervisor:
{% if stream.supervisor %}
{{ stream.supervisor }}
{% else %}
No Supervisor assigned.
{% endif %}
Production Officer:
{% if stream.officer %}
{{ stream.officer }}
{% else %}
No Officer assigned.
{% endif %}
{% endblock %}
{% block actions %}
Events
{% include 'production/partials/production_events.html' with events=stream.events.all non_editable=1 %}
{% endblock %}
{% if "can_work_for_stream" in sub_perms %}
Proofs
{% for proof in stream.proofs.all %}
Version {{ proof.version }}
Uploaded by {{ proof.uploaded_by.user.first_name }} {{ proof.uploaded_by.user.last_name }}
Accessible for authors: {{ proof.accessible_for_authors|yesno:'Yes,No' }} {{ proof.get_status_display }}