Use action_required and num_action_required in template
This commit is contained in:
parent
319f6c05c2
commit
156e19387d
@ -25,6 +25,14 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
|
|
||||||
|
{% if num_action_required %}
|
||||||
|
{% set title -%}
|
||||||
|
Action required on {{ num_action_required }} requests.
|
||||||
|
{%- endset %}
|
||||||
|
|
||||||
|
{{ Alert (title)}}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if not requests %}
|
{% if not requests %}
|
||||||
|
|
||||||
{{ EmptyState(
|
{{ EmptyState(
|
||||||
@ -109,7 +117,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
<a class='icon-link icon-link--large' href="{{ r['edit_link'] }}">{{ r['order_id'] }}</a>
|
<a class='icon-link icon-link--large' href="{{ r['edit_link'] }}">{{ r['order_id'] }}</a>
|
||||||
{% if r['is_new'] %}<span class="usa-label">New</span>{% endif %}
|
{% if r.action_required %}<span class="label label--info">Action Required</span>{% endif %}
|
||||||
</th>
|
</th>
|
||||||
<td>{{ r.last_submission_timestamp }}</td>
|
<td>{{ r.last_submission_timestamp }}</td>
|
||||||
{% if extended_view %}
|
{% if extended_view %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user