{% extends "base" %} {% load listify %} {% block title %} | Computers: {{ computer.sword }}{% endblock %} {% block body %}

{{ computer.sword }}

{% with computer.operating_system as operating_system %} {% endwith %} {% if computer.motd %} {% endif %}
Sword {{ computer.sword }} Status {% if computer.online %}Online{% else %}Offline{% endif %}
DNS Name {{ computer.full_name }} IP Address {{ computer.ip_address }}
Operating System{% if operating_system.url %}{% endif %}{% if operating_system.image %} {% endif %}{{ operating_system }}{% if operating_system.url %}{% endif %}Processor {{ computer.processor }}
People {% if computer.online and computer.login_set.all %}{% listify login in computer.login_set.all %}{{ login.person }}{% endlistify %}{% else %}None{% endif %}
Roles {% listify role in computer.roles.all %}{{ role.full_name }}{% endlistify %}
MOTD
{{ computer.motd|safe }}

{% endblock %} {% block js %} {% endblock %} {% block id %}$Id${% endblock %} {# vim: set filetype=htmldjango: #}