{% extends "dashboard/layout.html" %} {% block title %}{{ _('My Teams – OnlineConvert') }}{% endblock %} {% set active_page = 'teams' %} {% block dashboard_content %}

{{ _('Teams') }}

{{ _('Collaborate with your team — share files, manage members, and work together.') }}

{% if can_create %} {% else %}
{{ _('Upgrade to Create Teams') }} {% if max_teams == 0 %} {{ _('Teams not available on your current plan') }} {% else %} {{ _('Team limit reached') }} ({{ owned_teams|length }}/{{ max_teams }}) {% endif %}
{% endif %}
{% if not owned_teams and not member_teams %}

{{ _('No teams yet.') }}

{% if can_create %}

{{ _('Create a team to start collaborating with others.') }}

{% else %}

{{ _('Upgrade your plan to create and join teams.') }}

{% endif %}
{% endif %} {% if owned_teams %}

{{ _('Teams I Own') }}

{% for team in owned_teams %}

{{ team.name }}

{{ team.member_count }} {{ _('active member') if team.member_count == 1 else _('active members') }} {% if team.sub_team_count %} · {{ team.sub_team_count }} {{ _('sub-team') if team.sub_team_count == 1 else _('sub-teams') }}{% endif %}

{{ _('Owner') }}
{% if team.plan_name %}

{{ _('Team Plan:') }} {{ team.plan_name }}

{% endif %}
{% endfor %}
{% endif %} {% if member_teams %}

{{ _('Teams I\'m In') }}

{% for team in member_teams %}

{{ team.name }}

{{ _('Joined as') }} {{ team.role }}

{{ team.role|capitalize }}
{{ _('Open Team') }}
{% endfor %}
{% endif %} {% endblock %}