{% extends "base_form.html" %} {% load static %} {% block title %}UCC Member Home{% endblock %} {% block content_title %}

Member home

{% if request.member %}

Welcome, {{ request.member.first_name }} {{ request.member.last_name }} ({{ request.member.username }})

{% else %}

Welcome, {{ request.user.first_name }} {{ request.user.last_name }} ({{ request.user.username }})

{% endif %} {% endblock %} {% block tips %} {% if not request.member %} {% if request.user.is_authenticated %} You have no member record associated with this account.
Please renew your membership to get started.

Note: you may have already paid for this year, but unless the username you entered is the same as the one you are using now, it will not work. {% else %} Something went wrong and your membership details could not be retrieved. Please try logging in. {% endif %} {% else %} You can see and modify some of your membership and account details below. {% endif %} {% endblock %} {% block extra_preform %}
{% include 'membership_summary.html' %}

Membership renewals on record

{% if memberships %} {% include 'membership_list.html' %} {% else %} No membership renewal records for your account exist yet. Please renew your membership to get started. {% endif %}

{% endblock %} {% block form %} {% if object %} {{ block.super }} {% endif %} {% endblock %} {% block postform %}

To update your other membership details, please talk to a door or committee member.

{% endblock %} {% block action_url %}{% url 'memberdb:home' %}{% endblock %} {% block action_text %}Update details{% endblock %}