{% 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 %}
Invitations Officer:
{% if stream.invitations_officer %}
{{ stream.invitations_officer }}
{% else %}
No Invitations Officer assigned.
{% endif %}
{% endblock %}
{% block actions %}
Events
{% include 'production/partials/production_events.html' with events=stream.events.all non_editable=1 %}
Work Log
{% include 'partials/finances/logs.html' with logs=stream.work_logs.all %}
{% endblock %}
{% if "can_work_for_stream" in sub_perms %}
Proofs
{% for proofs in stream.proofs.all %}
Version {{ proofs.version }}
Uploaded by {{ proofs.uploaded_by.user.first_name }} {{ proofs.uploaded_by.user.last_name }}
Accessible for authors: {{ proofs.accessible_for_authors|yesno:'Yes,No'|safe }}
{% if perms.scipost.can_run_proofs_by_authors %}
{% if proofs.status == 'uploaded' %}
See details for open actions: