{% 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.show_gender %} {% endif %}

Major: {% if student.major %} {{ student.major.name }} {% else %}  — {% endif %}

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.facebook and shares %}

Facebook account

{% else %}

{% endif %}

{% if accounts.google and shares %}

Google+ account

{% else %}

{% endif %}

{% if accounts.twitter and shares %}

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

{% else %}

{% endif %}

{% if accounts.instagram and shares %}

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

{% else %}

{% endif %}

{% if accounts.tumblr and shares %}

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

{% else %}

{% endif %}

{% if accounts.github and shares %}

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

{% else %}

{% endif %}

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