mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 23:43:47 +00:00
update code after rebase
This commit is contained in:
parent
6f374dfffd
commit
65a8a1e0c7
3 changed files with 7 additions and 7 deletions
|
@ -29,7 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<h4> on met un {{ key_dict }} de {{ key }}</h4>
|
<h4> on met un {{ key_dict }} de {{ key }}</h4>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{{ key_dict }}</th>
|
<th>{{ key_dict }}</th>
|
||||||
<th>Nombre de {{ key }} par {{ key_dict }}</th>
|
<th> Number of {{ key }} per {{ key_dict }}</th>
|
||||||
<th>Rang</th>
|
<th>Rang</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
|
@ -25,10 +25,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
|
||||||
{% load bootstrap3 %}
|
{% load bootstrap3 %}
|
||||||
|
|
||||||
{% block title %}Chambres innocupées{% endblock %}
|
{% block title %}Unoccupied rooms{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h2>Chambres innocupées</h2>
|
<h2> Unoccupied rooms </h2>
|
||||||
{% include "logs/aff_stats_rooms.html" with stats_list=stats_list %}
|
{% include "logs/aff_stats_rooms.html" with stats_list=stats_list %}
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
|
|
|
@ -529,11 +529,11 @@ def stats_unoccupied_rooms(request):
|
||||||
"""Vue qui affiche les chambres inoccupées
|
"""Vue qui affiche les chambres inoccupées
|
||||||
pour des fins de contrôle des cotisations"""
|
pour des fins de contrôle des cotisations"""
|
||||||
stats = {
|
stats = {
|
||||||
'Nombre de chambres Innocupées': {
|
_("Unoccupied rooms count"): {
|
||||||
'Action': Room.objects.filter(adherent__isnull=True).count()
|
_("Action"): Room.objects.filter(adherent__isnull=True).count()
|
||||||
},
|
},
|
||||||
'Chambres Innocupées': {
|
_("Unoccupied rooms"): {
|
||||||
'Action': Room.objects.filter(
|
_("Action"): Room.objects.filter(
|
||||||
adherent__isnull=True
|
adherent__isnull=True
|
||||||
).order_by('-num')[:40],
|
).order_by('-num')[:40],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue