mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-23 06:33:21 +00:00
29 lines
1.0 KiB
Django/Jinja
29 lines
1.0 KiB
Django/Jinja
{% extends "core/base.jinja" %}
|
|
{% from 'core/macros.jinja' import user_profile_link %}
|
|
|
|
{% block title %}
|
|
{% trans counter_name=counter %}{{ counter_name }} activity{% endtrans %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h3>{% trans counter_name=counter %}{{ counter_name }} activity{% endtrans %}</h3>
|
|
{% if counter.type == 'BAR' %}
|
|
<h4>{% trans %}Barmen list{% endtrans %}</h4>
|
|
<ul>
|
|
{% for b in counter.get_barmen_list() %}
|
|
<li>{{ user_profile_link(b) }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
<h5>{% trans %}Legend{% endtrans %}</h5>
|
|
<span style="color: green">✓</span> : {% trans %}counter is open, there's at least one barman connected{% endtrans %}
|
|
<br>
|
|
<span style="color: orange">?</span> : {% trans minutes=settings.SITH_COUNTER_MINUTE_INACTIVE %}counter is open but not active, the last sale was done at least {{ minutes }} minutes ago {% endtrans %}
|
|
<br>
|
|
<span style="color: red">✗</span> : {% trans %}counter is not open : no one is connected{% endtrans %}
|
|
{% endblock %}
|
|
|
|
|
|
|