From 8cc46c9e05d850ea11605fb2b6e954ddce1a31c2 Mon Sep 17 00:00:00 2001 From: Patrick Smith Date: Tue, 15 Jan 2019 13:41:45 -0500 Subject: [PATCH] Update condition for empty state on portfolio funding screen --- templates/portfolios/task_orders/index.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 %}