{# lines of the agent's events, newest first; a day other than the one above starts under a line with its date. the end of a page asks for the one before it when it scrolls into view #} {% set base = "/agents/" ~ ref(selected.computer_id) ~ "/" ~ ref(selected.id) ~ "/profile/events" %} {# the first lines to come in take the place of saying there are none #} {% if fresh and lines %}
{% endif %} {% set ns = namespace(day=above) %} {% for line in lines %} {% set day = line.at_ms|day %} {% if day != ns.day %}