{% extends "page-twocol.html" %} {% load kegweblib %} {# Suppress page title on homepage. #} {% block header-margin %}{% endblock %} {% block col-1 %} {% if DEMO_MODE %} {% include 'contrib/demomode/demo_notice.html' %} {% endif %} {% block messages %} {% for message in messages %}
×

{{message}}

{% endfor %} {% endblock messages %} {% if not current_session and not most_recent_session %}

Fresh Kegbot

This will be more interesting once some activity is recorded.

{% else %} {% if current_session %}

Now Drinking (details)

{% else %}

Recent Activity (last session ended {% timeago most_recent_session.end_time %})

{% endif %} {% include 'kegweb/includes/timeline.html' %}
See all sessions.
{% endif %} {% endblock col-1 %} {% block col-2 %}

Currently On Tap

{% if taps %} {% for tap in taps %} {% include 'kegweb/includes/tap_snapshot.html' %} {% endfor %} {% comment %}

See all taps in fullscreen mode.

{% endcomment %} {% else %}

No taps are configured. {% if user.is_staff %} (Want to manage taps?) {% endif %}

{% endif %} {% endblock col-2 %}