{% assign chart-type = include.chart-type | default: 'line' %} {% assign chart-position = include.chart-position | default: 'right' %}
{% if include.icon %}
{% include ui/icon.html icon=include.icon %}
{% elsif include.person-id %}
{% include ui/avatar.html person-id=include.person-id %}
{% elsif include.chart-data and chart-position == "left" %}
{% include ui/chart-sparkline.html id=include.id data=include.chart-data type=chart-type color=include.color label=include.chart-label label-icon=include.chart-label-icon %}
{% endif %}
{{ include.title | default: 1700 }} {% if include.small-icon %} {% include ui/icon.html icon=include.small-icon color=include.color class="icon-sm ms-1" %} {% endif %} {% if include.description-value %} {{ include.description-value }} {% endif %}
{{ include.description | default: "Users" }}
{% if include.chart-data and chart-position=="right" %}
{% include ui/chart-sparkline.html id=include.id data=include.chart-data type=chart-type color=include.color label=include.chart-label label-icon=include.chart-label-icon %}
{% endif %}