{% import "components.html" as c with context %} {# an agent's own page: who it is, and a tab at a time of what it is made of, found, has to hand, is doing and did #} {% set base = "/agents/" ~ ref(selected.computer_id) ~ "/" ~ ref(selected.id) ~ "/profile" %}
{% with name = selected.name %}{% include "agent_profile_head.html" %}{% endwith %}
{% for tab in ("config", "skills", "workspace", "status", "activity", "sharing") %} {% if tab != "sharing" or can_share %}{% endif %} {% endfor %}
{% include "agent_profile_" ~ profile ~ ".html" %}
{{ c.icon("loader") }}