{% assign table-id = include.id | default: "advanced-table" %} {% assign statuses = 'Active,Inactive,Requested' | split: ',' %} {% assign per-page = '10,20,50,100' | split: "," %} {% assign categories = 'Agencies,Individual,Event,Ticket' | split: "," %} {% assign tags = 'QTA,Event,Tickets,TODO|Event,Tickets|QTA,Event|Tickets' | split: "|" %}
Table description.
{% assign headers = table-properties.advanced-table.headers %} {% for header in headers %} | {% endfor %} | |||||
---|---|---|---|---|---|---|
{% include "ui/avatar.html" person=person size="xs" class="me-2" %} {{ person.full_name }} | {{ person.city }}, {{ person.country }} | {% assign status = forloop.index | plus: 5 | random_item: statuses %} {% if status == "Active" %} Active {% elsif status == "Inactive" %} Inactive {% else %} Requested {% endif %} | {{ forloop.index | random_date | date: '%B %d, %Y' }} |
{% assign item-tags = forloop.index | plus: 5 | random_item: tags %}
{% assign item-tags = item-tags | split: "," %}
{% for tag in item-tags %}
{{ tag }}
{% endfor %}
|
{{ forloop.index | random_item: categories }}
{% include "ui/button.html" icon="dots" icon-only %}
|