{% extends 'layouts/base.html' %} {% block title %} SRCT Roomlist | Majors | {{ major.name }} {% endblock title %} {% block content %} {% load cache %} {% cache 15 major_students request.user.username major %} {% 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 %}
{{ student.get_first_name_or_uname }} profile picture

{{ student.get_full_name_or_uname }}

{% if student.get_flag_count > 4 %}

* a number of other floormates say this info is incorrect

{% endif %}
{% 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 %}
{{ student.get_first_name_or_uname }} profile picture

{{ student.get_full_name_or_uname }}

{% if student.get_flag_count > 4 %}

* a number of other floormates say this info is incorrect

{% endif %}
{% 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 %}
{{ student.get_first_name_or_uname }} profile picture

{{ student.get_full_name_or_uname }}

{% if student.get_flag_count > 4 %}

* a number of other floormates say this info is incorrect

{% endif %}
{% endfor %}
{% empty %} No visible students in the database. :'-( {% endfor %}

{% if location_hidden %} Location not visible because of student privacy settings
{% for student in location_hidden %} {% endfor %}
{% endif %}
{% include 'disclaimer.html' %} {% endcache %} {% endblock content %}