{# Every agent portal page: how many of the agent's direct players are active (loaded in the last 30 days) vs inactive - see AgentPlayerActivityService. #} {% set activity = agent_player_activity() %} {% if activity %} {% import 'agent/_activity_macros.html.twig' as act %} {% set level = act.level(activity)|trim %}