{% extends 'layouts/base.html' %} {% block title %} SRCT Roomlist • {{ student.user.first_name }} {{ student.user.last_name }} {% endblock title %} {% block content %} {% load socialaccount %} {% load gravatar %} {% load cache %} {% cache 4 student_page request.user.username %} {% get_social_accounts student.user as accounts %} {% load accounts_extras %}
{% if student.major.all|length == 2 %} {% if student.show_gender %} {% endif %}

Majors: {% else %}

Major: {% endif %} {% include 'double_major.html' %}

Class of: {% if student.graduating_year == None %}  — {% else %} {{ student.graduating_year|bc }} {% endif %}

Email: {{ student.user.email }}

Gender: {% for gender in student.gender %} {% if gender == 'female' %} {% elif gender == 'male' %} {% elif gender == 'intersex' %} {% elif gender == 'trans' %} {% elif gender == 'genderless' %} {% elif gender == 'other' %} {% endif %} {% endfor %}

{% if accounts.instagram and shares %} {% endif %} {% if accounts.tumblr and shares %} {% endif %} {% if accounts.pinterest and shares %} {% endif %} {% if accounts.spotify and shares %} {% endif %} {% if accounts.github and shares %} {% endif %}

{% if accounts.facebook and shares %}

Facebook account

{% else %}

{% endif %}

{% if accounts.twitter and shares %}

@{{ accounts.twitter.0.extra_data.screen_name }}

{% else %}

{% endif %}

{% if accounts.google and shares %}

Google+ account

{% else %}

{% endif %}

@{{ accounts.instagram.0.extra_data.username }}

@{{ accounts.tumblr.0.extra_data.name }}

Pinterest account

{{ accounts.spotify.0.extra_data.id }}

{{ accounts.github.0.extra_data.login }}



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