{% for (u, profile) in users %} {% endfor %}
Username Role Status SPT Profile Registered Actions
{{ u.username }} {% if u.id != current_user_id %}
{% else %} {{ u.role }} {% endif %}
{% if u.disabled %} Disabled {% else %} Active {% endif %} {% match profile %} {% when ProfileStatus::Found with (stats) %}
{{ stats.nickname.as_deref().unwrap_or("—") }} {% if let Some(level) = stats.level %} Lv.{{ level }} {% endif %} {% if let Some(side) = stats.side %} {{ side }} {% endif %} {% if let Some(raids) = stats.raid_count %}
{{ raids }} raids {% endif %} {% if let Some(sr) = stats.survival_rate %} {{ sr|fmt("{:.1}") }}% SR {% endif %} {% if let Some(kills) = stats.kill_count %} {{ kills }} kills {% endif %}
{% when ProfileStatus::NotFound %} No profile linked {% when ProfileStatus::ParseError %} Profile data unavailable {% endmatch %}
{{ u.created_at }} {% if u.id != current_user_id %}
{% endif %}
{% if users.is_empty() %}

No users registered.

{% endif %}