{% extends "daisy/base.html" %} {% load humanize %} {% load humanize_short %} {% block title %} Session {{ session.uid }} - {{ request.site.name }} {% endblock title %} {% block content-header %}

Session {{ session.uid }}

{% endblock content-header %} {% block content %}

Overview

User
{{ session.user }}
{{ session.user.email }}
Machine
{{ session.machine }}
{{ session.machine.fqdn }}
State
{{ session.cur_state }}
{{ session_properties.last.t_change | naturaltime }}

Details

Session Age
{{ session.t_start | naturaltime | cut:" ago" }}
{{ session.t_start }}

Actions

State History

{% for history in session_properties %} {% endfor %}
Change State Client Address Client Name Client Version
{{ history.t_change }} ({{ history.t_change | naturaltime_short }}) {{ history.state }} {{ history.client_address }} {{ history.client_name }} {{ history.client_version }}
{% if session_notifications %}

Notifications

{% for notification in session_notifications %} {% if not notification.t_sent %} {% else %} {% endif %} {% endfor %}
Created Sent Method Subject Body
{{ notification.t_created | naturaltime_short }} Never {{ notification.t_sent | naturaltime_short }}{{ notification.method }} {{ notification.subject }} {% if notification.body|length >= 50 %}
{{ notification.body | truncatechars:50 }}
{{ notification.body }}
{% else %} {% comment %} "collapse-title" as a hack for consistent styling: {% endcomment %}
{{ notification.body }}
{% endif %}
{% endif %} {% endblock content %}