{% load guardian_tags %} {% get_obj_perms request.user for productionstream as "sub_perms" %}

While the new production page is being built: go the the (old) stream detail page to manage this stream.

Actions

{% if "can_perform_supervisory_actions" in sub_perms %}
Change stream property
{% include "production/_hx_productionstream_change_status.html" with form=status_form stream=productionstream %} {% include "production/_hx_productionstream_change_supervisor.html" with form=supervisor_form stream=productionstream %} {% include "production/_hx_productionstream_change_prodofficer.html" with form=prod_officer_form stream=productionstream %} {% include "production/_hx_productionstream_change_invofficer.html" with form=inv_officer_form stream=productionstream %}
{% endif %}
{% comment %} This might be better to refactor with an OOB response on each event addition {% endcomment %}

Events