{% extends "base.html" %} {% load kegweblib %} {% block title %}Drinker Details: {{ drinker.username }} | {{ block.super }}{% endblock %} {% block pagetitle %}Drinker Details: {{ drinker.username }}{% endblock %} {% block content %}
{% mugshot_box drinker %}
See All Drinker Sessions


{% if stats %} {% if stats.total_pours %} {% endif %} {% endif %} {% with drinker.drinks.latest as last_drink %} {% if last_drink %} {% endif %} {% endwith %}
Total Volume {% volume stats.total_volume_ml %}
Total Pours {{ stats.total_pours }}
Total Sessions {{ stats.sessions_count }}
Average Pour {% volume stats.average_volume_ml %}
Largest Pour {% volume stats.greatest_volume_ml %}
Member Since {{ drinker.date_joined|date:"l, F j Y" }}
({% timeago drinker.date_joined %})
Last Drink {{ last_drink.time|date:"l, F j Y" }}
({% timeago last_drink.time%})
{% if not stats.total_pours %} Looks like {{ drinker }} has never poured a drink. Boo! {% else %} {% if kbsite.volume_display_units == 'metric' %} {% else %} {% endif %} {% if kbsite.volume_display_units == 'metric' %} {% else %} {% endif %}
total liters, by day of weektotal pints, by day of week{% chart sessions_by_weekday stats 350 100 %}
all sessions, by liter per sessionall sessions, by pints per session{% chart sessions_by_volume stats 350 100 %}
{% endif %}
{% if chunk %}
{% with chunk.session as session %} {% include "kegweb/keg-session.html" %} {% endwith %}
{% endif %} {% if largest_session %}
{% with largest_session as session %} {% include "kegweb/keg-session.html" %} {% endwith %}
{% endif %}
{% endblock %} {% block kb-extrajs %} {% endblock %}