{% load kegweblib %}

{{ session.GetTitle }}

{% with session.get_stats as stats %} {% with session.get_non_highlighted_pictures as pictures %} {% with session.get_highlighted_picture as highlight %} {% if highlight %}
{% gallery highlight "span12" gallery_id=session.id %}
{% include "kegweb/session-badges.html" %}
{% gallery pictures|slice:":5" "span2" gallery_id=session.id %}
{% else %}
{% include "kegweb/session-badges.html" %}
{% endif %} {% endwith %} {% endwith %}

{{ session.start_time|date:"M j Y, P" }} · {{ session.summarize_drinkers|safe }}

{% endwith %}