{# The home page's hero: what each machine is doing now and one way in. The
public shell has no Bootstrap utilities, so the few rules it needs are here. #}
{{ site.name if site is defined else config.SITE_NAME }}
{% for name, s in nodes %}
{{ name }}
{% if not s or not s.bookings %}
{{ _('Free now') }}
{% elif s.free <= 0 %}
{{ _('Full') }}{{ _('until %(time)s', time=pretty(s.bookings[0].end)) }}
{% else %}
{{ _('In use') }}{{ _('%(free)s of %(total)s GB free', free=s.free, total=s.total) }}
{% endif %}