{% regroup logins by person as people %}
{% if not people %}There are no people logged in to computers in the lab.{% else %}
{% for person_ in people %}
{% with person_.grouper as person %}
{% with person.facebook_user_set.all as users %}
{% with users|length_is:"1" as user_ %}
{% with users.0 as user %}
{% if user_ %}{% else %}{% person_picture person q %}{% endif %} |
{{ person }} |
{% if user_ %}{% else %}{{ person.full_name }}{% endif %} |
Logged in to {% listify login in person_.list %}{% with login.computer as computer %}{{ computer.sword }}{% endwith %}{% endlistify %}. |
{% endwith %}
{% endwith %}
{% endwith %}
{% endwith %}
{% endfor %}
{% endif %}
{% if not laptops_count %}There are no people using laptops around CCS.{% else %}
{% regroup laptops_users by user as users %}
{% for user_ in users %}
{% with user_.grouper as user %}
{% with user.person as person %}
|
{{ person }} |
|
Using {% listify laptop in user_.list %}{{ laptop.laptop_name }}{% endlistify %}. |
{% endwith %}
{% endwith %}
{% endfor %}
{% regroup laptops_people by person as people %}
{% for person_ in people %}
{% with person_.grouper as person %}
{% person_picture person q %} |
{{ person }} |
{{ person.full_name }} |
Using {% listify laptop in person_.list %}{{ laptop.laptop_name }}{% endlistify %}. |
{% endwith %}
{% endfor %}
{% endif %}
{% with bookmarks|length as bookmarks_length %}
{% if bookmarks_count %}
Th{{ bookmarks_count|pluralize:"is is,ese are" }} the lab's
del.icio.us bookmark{{ bookmarks_count|pluralize }} tagged
ccscslab:
{% endif %}
{% include "facebook/person-bookmarks" %}
{% endwith %}