{% assign roles = 'User,Admin,Owner' | split: ',' %} {% assign limit = include.limit | default: 5 %}
Name | Title | {% unless include.avatars %}Role | {% if include.nowrap %}{% endif %} | ||||
---|---|---|---|---|---|---|---|
{% include "ui/avatar.html" person-id=person.id class="me-2" %}
{{ person.full_name }}
|
{% else %}
{{ person.full_name }} | {% endif %} {% if include.avatars %}
{{ person.job_title }}
{{ person.department }}
|
{% else %}
{{ person.job_title }}, {{ person.department }} | {% endif %} {% unless include.avatars %}{{ person.email }} | {% endunless %}{% assign role-id = forloop.index | random_number: 0, 2 %} {{ roles[role-id] }} | {% if include.nowrap %}Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi, commodi cupiditate debitis deserunt expedita hic incidunt iste modi molestiae nesciunt non nostrum perferendis perspiciatis placeat praesentium quaerat quo repellendus, voluptates. | {% endif %}
{% if include.buttons %}
{% include "ui/button.html" text="Edit" %}
{% else %}
Edit
{% endif %}
{% include "ui/dropdown-menu.html" right=true %}
|