{% extends 'layouts/base.html' %} {% block title %} SRCT Roomlist | Majors | {{ major.name }} {% endblock title %} {% block content %} {% load gravatar %} {% comment %} Sigh... three sections of largely duplicated code. {% endcomment %} Aquia
{% regroup aq_location_visible by get_building as aq_students_by_building %} {% for building in aq_students_by_building %} {{ building.grouper }}
{% for student in building.list %} {% endfor %}
{% empty %} No visible students in the database. :'-( {% endfor %}

Rappahannock
{% regroup ra_location_visible by get_building as ra_students_by_building %} {% for building in ra_students_by_building %} {{ building.grouper }}
{% for student in building.list %} {% endfor %}
{% empty %} No visible students in the database. :'-( {% endfor %}

Shenandoah
{% regroup sh_location_visible by get_building as sh_students_by_building %} {% for building in sh_students_by_building %} {{ building.grouper }}
{% for student in building.list %} {% endfor %}
{% empty %} No visible students in the database. :'-( {% endfor %}

Location not visible because of student privacy settings
{% for student in location_hidden %} {% endfor %}
{% endblock content %}