{% extends "base.html" %} {% block title %}Workspaces — SimpleAudit{% endblock %} {% block content %}

Workspaces

Each workspace keeps its own scenarios, models, and audits.

{% if can_create %} {% endif %}
{% if workspace_cards %}
{% for card in workspace_cards %}
▣ {{ card.project.name }} {% if card.is_current %}Current{% endif %}

{% if card.project.description %}{{ card.project.description }}{% else %}No description{% endif %}

{{ card.member_count }} member{{ card.member_count|pluralize }}

{% if not card.is_current %} {% endif %} {% if card.is_admin %} Manage {% endif %}
{% endfor %}
{% else %}

You don't belong to any workspace yet.

{% if can_create %}

Create your first workspace to get started.

{% endif %}
{% endif %} {% if managed %}

Manage — {{ managed.workspace.project.name }}

{% if managed.can_manage %}
{% endif %}
{% if managed.can_manage %}

Workspace details

{% endif %}
{% if managed.can_manage %}{% endif %} {% for m in managed.memberships %} {% if managed.can_manage %} {% endif %} {% empty %} {% endfor %}
User Email RoleActions
{{ m.user.username }} {% if m.user.is_superuser %}System{% endif %} {{ m.user.email|default:"—" }} {% if managed.can_manage and not m.user.is_superuser %} {% else %} {{ m.get_role_display }} {% endif %} {% if not m.user.is_superuser %} {% endif %}
No members yet.
{% if managed.can_manage %}

Danger zone

Only possible while the workspace is empty.

{% endif %}
{% endif %} {% if can_create %} {% endif %} {% endblock %}