{% extends "layouts/app.html" %} {% from "components/breadcrumb.html" import page_header %} {% from "components/button.html" import button %} {% from "components/form.html" import search_input %} {% from "components/modal.html" import confirm_modal %} {% block title %}Organizations - NeoZen Admin{% endblock %} {% block page_header %} {% call page_header("Organizations", subtitle="Manage organizations and tenants", breadcrumbs=[{"label": "Organizations"}]) %} {{ button("Create Organization", variant="primary", href="/organizations/create") }} {% endcall %} {% endblock %} {% block content %}
{{ search_input(name="search", value=search or '', placeholder="Search organizations...", action="/organizations") }}
{% for org in organizations %} {% else %} {% endfor %}
Organization Slug Plan Status Created Actions
{{ org.name }}
{% if org.domain %}
{{ org.domain }}
{% endif %}
{{ org.slug }} {% if org.plan == 'enterprise' %} Enterprise {% elif org.plan == 'pro' %} Pro {% else %} Free {% endif %} {% if org.is_active %} Active {% else %} Inactive {% endif %} {{ org.created_at.strftime('%b %d, %Y') if org.created_at else '-' }}
View

No organizations found

{% if search %} No organizations match your search criteria. {% else %} Get started by creating a new organization. {% endif %}

{{ confirm_modal( id="delete", title="Delete Organization", message="Are you sure you want to delete this organization? All associated groups will be unlinked.", confirm_text="Delete", variant="danger" ) }} {% endblock %}