{{ user.username }}
{{ user.used_traffic | bytesformat }} / {% if not user.data_limit %}∞{% else %}{{ user.data_limit | bytesformat }}{% endif %}
{% if user.status.value == 'on_hold' %}-{% elif not user.expire %}∞{% else %}{% set remaining_days = ((user.expire - now().timestamp()) // (24 * 3600)) %}({{ remaining_days | int if (remaining_days | int) > -1 else 0 }}){% endif %}

{% if user.status == 'active' %} {% for link in user.links %}
{% endfor %}
{% endif %}

##

×