mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
batched job table added
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{% macro mapping_table(caption='', field_headings=[], field_headings_visible=True, caption_visible=True, equal_length=False) -%}
|
||||
<table class="usa-table usa-table--borderless width-full">
|
||||
{% macro mapping_table(caption='', field_headings=[], field_headings_visible=True, caption_visible=True, equal_length=False, border_visible=False) -%}
|
||||
<table class="usa-table{{' usa-table--borderless' if not border_visible}} width-full">
|
||||
<caption class="font-body-lg table-heading{{ ' usa-sr-only' if not caption_visible}}">
|
||||
{{ caption }}
|
||||
</caption>
|
||||
@@ -22,10 +22,10 @@
|
||||
</table>
|
||||
{%- endmacro %}
|
||||
|
||||
{% macro list_table(items, caption='', empty_message='', field_headings=[], field_headings_visible=True, caption_visible=True, equal_length=False) -%}
|
||||
{% macro list_table(items, caption='', empty_message='', field_headings=[], field_headings_visible=True, caption_visible=True, equal_length=False, border_visible=False) -%}
|
||||
{% set parent_caller = caller %}
|
||||
|
||||
{% call mapping_table(caption, field_headings, field_headings_visible, caption_visible, equal_length) %}
|
||||
{% call mapping_table(caption, field_headings, field_headings_visible, caption_visible, equal_length, border_visible) %}
|
||||
{% for item in items %}
|
||||
{% call row(item.id) %}
|
||||
{{ parent_caller(item, loop.index + 1) }}
|
||||
|
||||
Reference in New Issue
Block a user