SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit a0820e52 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Add stream status block

parent b675e650
No related branches found
No related tags found
No related merge requests found
...@@ -52,17 +52,19 @@ ...@@ -52,17 +52,19 @@
<div class="row"> <div class="row">
<div class="col-6"> <div class="col-6">
<h3>Stream statuses</h3> {% if perms.scipost.can_assign_production_officer %}
<ul> <h3>Stream statuses</h3>
{% for stream in streams %} <ul>
<li class="pb-2"> {% for stream in streams %}
<div><strong>{{ stream.submission.title }}</strong></div> <li class="pb-2">
<div class="label label-{% if stream.status == 'initiated' %}outline-danger{% else %}secondary{% endif %} label-sm">{{ stream.get_status_display }}</div> <div><strong>{{ stream.submission.title }}</strong></div>
<div>Opened {{ stream.opened }}</div> <div class="label label-{% if stream.status == 'initiated' %}outline-danger{% else %}secondary{% endif %} label-sm">{{ stream.get_status_display }}</div>
</li> <div>Opened {{ stream.opened }}</div>
{% endfor %} </li>
</ul> {% endfor %}
<hr> </ul>
<hr>
{% endif %}
<ul class="list-unstyled" data-target="active-list"> <ul class="list-unstyled" data-target="active-list">
{% for stream in streams %} {% for stream in streams %}
<li class="p-2"> <li class="p-2">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment