{{ item.username }} {% if item.admin %}Owner{% endif %}
{{ item.email }} · Joined {{ item.created|ist_time }}
Broker connection
{% for profile in item.profiles %}{{ brokers.get(profile.broker,profile.broker) }} · {{ profile.label }}
Connection service: {{ profile.state }}
{% if profile.checked_at %}Last broker check: {{ profile.checked_state }} · {{ profile.checked_at|ist_time }}{% else %}Broker sign-in has not been checked in the trading desk.{% endif %}
{% else %}No broker connected yet.
{% endfor %}Algo activity
{{ item.saved }} saved {{ 'algo' if item.saved==1 else 'algos' }}
{% for run in item.runs %}{{ state_labels.get(run.state,run.state) }}: {{ run.count }}
{% else %}No deployments.
{% endfor %}Account access
{% if item.admin %}Owner access is protected. It cannot be suspended here.
{% elif item.enabled and not item.can_suspend %}The user must stop their algos and connection before access can be suspended.
{% else %}{% endif %}