{% extends "base" %} {% load listify %} {% block title %} | Computers: {{ computer.sword }}{% endblock %} {% block body %}
Sword | {{ computer.sword }} | Status | {% if computer.online %}Online{% else %}Offline{% endif %} |
---|---|---|---|
DNS Name | {{ computer.full_name }} | IP Address | {{ computer.ip_address }} |
Operating System | {% with computer.operating_system as operating_system %}{% if operating_system.url %}{% endif %}{% if operating_system.image %} {% endif %}{{ operating_system }}{% if operating_system.url %}{% endif %} | {% endwith %}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 }} |