{% extends 'layouts/base.html' %} {% block title %} SRCT Roomlist • Homepage {% endblock title %} {% block content %} {% load gravatar %} {% load humanize %} {% load cache %} {% cache 15 landing request.user.username %}

Welcome {% if not me.is_noob %} Back, {% endif %} {{ me.get_first_name_or_uname }}!


{% if me.on_campus %} {% if not me.room and me.on_campus %}

Select your room, and we'll show you the other students on your floor.

{% else %} {% if roomies|length == 1 %}

Your Roommate in {{ me.room }}


{% else %}

Your Roommates in {{ me.room }}


{% endif %}
{% for student in roomies %}
{{ student.get_first_name_or_uname }} profile picture

{{ student.get_full_name_or_uname }}

{% include 'double_major.html' %}
{% empty %}

There are no other students registered in your room right now.

{% endfor %}

Your Floormates from {{ me.room.floor.building }} {{ me.room.floor.number|ordinal }}


{% for student in floories %} {% empty %}

There are no other students registered on your floor right now.

{% endfor %}
{% endif %} {% comment %} else not me.room and me.oncampus {% endcomment %} {% endif %} {% comment %} else me.oncampus {% endcomment %} {% endcache %} {% load accounts_extras %} {% cache 120 landing_majors request.user.username %} {% if not me.major.all %}

Set your major, and we'll show you some of the other students in your program.

{% else %} {% for major, students in majormates.items %}

Other Students in {{ major.name }}


{% for student in students %}
{{ student.get_first_name_or_uname }} profile picture

{{ student.get_full_name_or_uname }}

{{ student.graduating_year|bc }}
{% empty %}

There are no other students registered in your major right now.

{% endfor %}
{% endfor %} {% endif %}

{% include 'disclaimer.html' %} {% endcache %} {% endblock %}