{% load guardian_tags %} {% load bootstrap %} {% load scipost_extras %} {% get_obj_perms request.user for productionstream as "sub_perms" %}
{% if "can_work_for_stream" in sub_perms or perms.scipost.can_assign_production_supervisor %}

Actions

{% if perms.scipost.can_take_decisions_related_to_proofs %}

{% comment %} Placeholder before HTMX content loads {% endcomment %}
{% for i_repeat in '1234' %}
{% endfor %}
{% comment %} End placeholder {% endcomment %}
{% endif %} {% if "can_work_for_stream" in sub_perms %}

{% comment %} Placeholder before HTMX content loads {% endcomment %}

Proofs

{% comment %} End placeholder {% endcomment %}

{% comment %} Placeholder before HTMX content loads {% endcomment %}
{% for i_repeat in '12' %}
{% endfor %}
{% for i_repeat in '123' %}
{% endfor %}
{% comment %} End placeholder {% endcomment %}
{% endif %}
{% if perms.scipost.can_draft_publication or perms.scipost.can_publish_accepted_submission %}
{% if perms.scipost.can_publish_accepted_submission %}
{% endif %} {% if perms.scipost.can_draft_publication and productionstream.status == 'accepted' %} {% endif %}
{% endif %} {% endif %}
{% comment %} This might be better to refactor with an OOB response on each event addition {% endcomment %}

Events

{% comment %} Placeholder before HTMX content loads {% endcomment %} {% for p in '12345' %} {% endfor %} {% comment %} End placeholder {% endcomment %}