diff --git a/templates/portfolios/task_orders/index.html b/templates/portfolios/task_orders/index.html index 36620b88..e01ae94d 100644 --- a/templates/portfolios/task_orders/index.html +++ b/templates/portfolios/task_orders/index.html @@ -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 %}