{% extends 'fleet/base.html' %} {% load humanize %} {% block page_title %}{{ workstation.fqdn }}{% endblock %} {% block base_content %}

{{ workstation.name }} - {{ workstation.room.name }} - {{ workstation.room.site.name }}

Report an issue {% if user.is_staff %} View on admin site {% endif %}

Computer

Open issues

{% include 'fleet/issue-table.html' %}
{% if user.is_staff %}

Connected users

{% if not current_sessions %}
None
{% else %} {% regroup current_sessions by login as login_list %}
    {% for u, user_session_list in login_list %}
  1. {{ u }}{% with last_s=user_session_list|last %}{% if last_s.locked %} (locked){% endif %}{%endwith%}
    Started {% with first_s=user_session_list|first %}{{ first_s.timestamp | naturaltime }}{% endwith %}
  2. {% endfor %}
{% endif %}

Last sessions

{% include 'fleet/session-table.html' %}
{% endif %}
{% endblock %}