diff --git a/templates/requests.html.to b/templates/requests.html.to index 66dbcd9d..1cdd2433 100644 --- a/templates/requests.html.to +++ b/templates/requests.html.to @@ -1,5 +1,9 @@ {% extends "base.html.to" %} +{% block template_vars %} + {% set requestsEmpty = False %} +{% end %} + {% block modal %} {% if modalOpen() %} {% apply modal %} @@ -31,67 +35,79 @@ {% block content %} +{% if requestsEmpty %} -{% module Alert('Pending Financial Verification', - message="
Your next step is to create a Task Order (T.O.) associated with JEDI Cloud. Please consult a Contracting Officer (KO) or Contracting Officer Representative (COR) to help with this step.
" -) %} + {% module EmptyState( + 'There are currently no active requests for you to see.', + actionLabel='Create a new JEDI Cloud Request', + actionHref='/requests/new', + icon='document' + )%} -Order ID | -Request Date | -Requester | -Total Apps | -Status | -Actions | -||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- {{ r['order_id'] }} - {% if r['is_new'] %}New - | + + +
Order ID | +Request Date | +Requester | +Total Apps | +Status | +Actions | +
---|---|---|---|---|---|
+ {{ r['order_id'] }} + {% if r['is_new'] %}New + | + {% end %} +{{ r['date'] }} | +{{ r['full_name'] }} | +{{ r['app_count'] }} | +{{ r['status'] }} | ++ Download + Approval + | +{{ r['date'] }} | -{{ r['full_name'] }} | -{{ r['app_count'] }} | -{{ r['status'] }} | -- Download - Approval - | - - {% end %} - -