Update seed script with TOs of various statuses

This commit is contained in:
richard-dds
2019-06-06 17:39:41 -04:00
parent fd159a2d80
commit e84e61bbad
5 changed files with 30 additions and 47 deletions

View File

@@ -70,7 +70,9 @@
<div class="portfolio-funding">
{% if not active_task_orders and not pending_task_orders %}
{% if task_orders %}
{{ TaskOrderList(task_orders) }}
{% else %}
{{ EmptyState(
'This portfolio doesnt have any active or pending task orders.',
action_label='Add a New Task Order',
@@ -78,18 +80,6 @@
icon='cloud',
) }}
{% endif %}
{% if pending_task_orders %}
{{ TaskOrderList(pending_task_orders, label='warning') }}
{% endif %}
{% if active_task_orders %}
{{ TaskOrderList(active_task_orders, label='success') }}
{% endif %}
{% if expired_task_orders %}
{{ TaskOrderList(expired_task_orders, label='error') }}
{% endif %}
</div>
{% endblock %}