{% extends "_notIndex.html" %} {% block title %}{{ user }}'s Home Page{% endblock %} {% block bodycontent %} Welcome to your personal homepage, {{ user }}!
{% if driverides %}

You are a driver for the following rides:

{% for ride in driverides %}

Driver

- See Map of Ride
From To Driver Departing Contact Modify
{{ ride.start_point_title }} {{ ride.destination_title }} {{ user }} {{ ride.part_of_day }}
{{ ride.jsmonth }}-{{ ride.jsday }}-{{ ride.jsyear }}
{{ ride.contact }}
{% if ride.passengerobjects %}

Passengers

{% for p in ride.passengerobjects %} {% endfor %}
Name {% ifequal ride.doOrPu 0 %}Drop Off Location {% else %}Pick Up Location{% endifequal %} Contact Modify
{{ p.fullname }} {{ p.location }} {{ p.contact }}
{% else %}

There are no passengers registered for this ride.

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

You are not a driver for any rides.

{% endif %} {% if passengerrides %}

You are a passenger for the following rides:

{% for ride in passengerrides %} See Map of Ride
From To Driver Departing Contact Modify
{{ ride.start_point_title }} {{ ride.destination_title }} {{ ride.drivername }}
Rate Your Driver
{{ ride.part_of_day }}
{{ ride.jsmonth }}-{{ ride.jsday }}-{{ ride.jsyear }}
{{ ride.contact }}
{% if ride.passengerobjects %}

Passengers

{% for p in ride.passengerobjects %} {% endfor %}
Name {% ifequal ride.doOrPu 0 %}Drop Off Location {% else %}Pick Up Location{% endifequal %} Contact Modify
{{ p.fullname }} {{ p.location }} {{ p.contact }}
{% else %}

There are no passengers registered for this ride.

{% endif %} {% if not forloop.last %}
{% endif %} {% endfor %} {% else %}

You are not a passenger for any rides.

{% endif %} {% endblock %}