{% extends "facebook/canvas" %}
{% load facebook %}
{% block title %}Computers{% if role %}: {{ role.full_name }}{% endif %}{% endblock %}
{% block body %}
Show:
There {{ computers|pluralize:"is,are" }} {{ computers|length }} computer{{ computers|pluralize }} in The Lab{% if role %} with the role {{ role.full_name }}{% endif %} {% if not computers|length_is:"1" %}there {{ online|pluralize:"is,are" }} {{ online }}{% else %}it is{% if not online %}n't{% endif %}{% endif %} online.
{{ computer.sword }} is {% if computer.online %}online{% else %}offline{% endif %}.
{% if computer.online %}
{% with computer.local.0 as login %}
{% if login %}
{% include "facebook/computer-login" %}
{% else %}
Nobody is logged in at the console.
{% endif %}
{% endwith %}
{% endif %}