mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
12 lines
570 B
HTML
12 lines
570 B
HTML
{% assign limit = include.limit | default: 5 %}
|
|
{% assign offset = include.offset | default: 0 %}
|
|
{% assign size = include['size'] | default: 'sm' %}
|
|
<div class="avatar-list{% if include.stacked %} avatar-list-stacked{% endif %}{% if include.class %} {{ include.class }}{% endif %}">
|
|
{% for person in people limit: limit offset: offset %}
|
|
{% include "ui/avatar.html" person=person size=size rounded=true %}
|
|
{% endfor %}
|
|
{% if include.text %}
|
|
{% include "ui/avatar.html" placeholder=include.text size=size rounded=true %}
|
|
{% endif %}
|
|
</div>
|