Update condition for empty state on portfolio funding screen
This commit is contained in:
parent
f6037aa8af
commit
8cc46c9e05
@ -37,16 +37,14 @@
|
||||
{% endfor %}
|
||||
|
||||
|
||||
{% if not portfolio.task_orders %}
|
||||
|
||||
{% if not active_task_orders and not pending_task_orders %}
|
||||
{{ EmptyState(
|
||||
'This portfolio doesn’t have any task orders yet.',
|
||||
'This portfolio doesn’t have any active or pending task orders.',
|
||||
action_label='Add a New Task Order',
|
||||
action_href=url_for('task_orders.new', screen=1, portfolio_id=portfolio.id),
|
||||
icon='cloud',
|
||||
) }}
|
||||
|
||||
{% else %}
|
||||
{% endif %}
|
||||
|
||||
<ul>
|
||||
{% for task_order in portfolio.task_orders %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user