{% load humanize %} {% load icons %} {% load time_extras %}
{% if beamtime.current %} {% for session in beamtime.sessions %} {% show_icon label=session.name|truncatechars:6 icon='ti ti-md ti-calendar' color='info' %} {% endfor %} {% else %} {% show_icon label='Info' icon='ti ti-md ti-info-alt' color='info' %} {% endif %} {% with beamtime.local_contact as local_contact %} {% if local_contact %} {% show_icon label='Support' icon='ti ti-md ti-headphone-alt' %} {% endif %} {% endwith %}