{% if scope.description %}

{{ scope.description }}

{% endif %}
{{ DLUX_STRINGS.scope_users_title|default:"Users" }}
{{ user_count }}
{{ DLUX_STRINGS.scope_group_presets_title|default:"Group Presets" }}
{{ preset_count }}
{{ DLUX_STRINGS.scope_activity_title|default:"Activity" }}
{{ activity_count }}
{{ DLUX_STRINGS.public_registration_default_short|default:"Registration" }}
{% if scope.is_public_registration_default %} {{ DLUX_STRINGS.public_registration_default_badge|default:"Public default" }} {% else %} - {% endif %}
{{ DLUX_STRINGS.scope_users_title|default:"Users" }}
{% for user in users %}
{{ user.get_full_name|default:user.username }} {{ user.email }}
{% empty %}
{{ DLUX_STRINGS.scope_no_users|default:"No users in this scope." }}
{% endfor %}
{{ DLUX_STRINGS.scope_data_title|default:"Data" }}
{% for item in data_counts %}
{{ item.label|capfirst }} {{ item.count }}
{% empty %}
{{ DLUX_STRINGS.scope_no_data|default:"No scoped data found." }}
{% endfor %}
{{ DLUX_STRINGS.scope_group_presets_title|default:"Group Presets" }}
{% for preset in group_presets %}
{{ preset.group.name }} {% if preset.is_public_registration_default %} {{ DLUX_STRINGS.public_registration_default_badge|default:"Public default" }} {% else %} {{ DLUX_STRINGS.group_member_count|default:"Members" }}: {{ preset.group.user_set.count }} {% endif %}
{% empty %}
{{ DLUX_STRINGS.scope_no_group_presets|default:"No group presets in this scope." }}
{% endfor %}
{{ DLUX_STRINGS.scope_activity_title|default:"Activity" }}
{% for item in recent_activity %}
{{ item }} {{ item.created_at }}
{% empty %}
{{ DLUX_STRINGS.scope_no_activity|default:"No recent scope activity." }}
{% endfor %}